403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.89
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/audio/nas/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/audio/nas/files/patch-clients_audio_aupanel_aupanel.c
--- clients/audio/aupanel/aupanel.c.orig	2013-10-07 17:05:47 UTC
+++ clients/audio/aupanel/aupanel.c
@@ -28,6 +28,7 @@
  */
 
 #include <stdio.h>
+#include <inttypes.h>
 #include <stdlib.h>
 #ifndef SYSV
 #include <audio/Aos.h>		/* for string and other os stuff */
@@ -280,7 +281,7 @@ inputModeCB(Widget w, XtPointer gp, XtPo
     if (!state)			/* ignore resets */
 	return;
 
-    AuDeviceInputMode(da) = (int) XawToggleGetCurrent(w) == 1
+    AuDeviceInputMode(da) = (intptr_t) XawToggleGetCurrent(w) == 1
 	? AuDeviceInputModeLineIn : AuDeviceInputModeMicrophone;
 
     AuSetDeviceAttributes(g->aud, AuDeviceIdentifier(da),
@@ -331,7 +332,7 @@ setGain(Widget w, XtPointer gp, XtPointe
 {
     GlobalDataPtr   g = (GlobalDataPtr) gp;
     AuDeviceAttributes *da = &g->da[g->deviceNum];
-    int             value = (int) valuep;
+    intptr_t        value = (intptr_t) valuep;
 
     AuDeviceGain(da) = AuFixedPointFromSum(value, 0);
     AuSetDeviceAttributes(g->aud, AuDeviceIdentifier(da),
@@ -359,7 +360,7 @@ muteCB(Widget w, XtPointer gp, XtPointer
         g->restoreValues[g->deviceNum] = current;
         setGain(w, gp, (XtPointer)0);
     } else if(g->restoreValues[g->deviceNum] > 0){
-        setGain(w, gp, (XtPointer)g->restoreValues[g->deviceNum]);
+        setGain(w, gp, (XtPointer)(intptr_t)g->restoreValues[g->deviceNum]);
         g->restoreValues[g->deviceNum] = 0;
     }
     showDevice((GlobalDataPtr)gp);

Youez - 2016 - github.com/yon3zu
LinuXploit