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/multimedia/recordmydesktop/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/multimedia/recordmydesktop/files/patch-src_rmd_specsfile.c
--- src/rmd_specsfile.c.orig	2008-12-14 00:15:34.000000000 +0800
+++ src/rmd_specsfile.c	2009-03-09 15:51:46.000000000 +0800
@@ -51,9 +51,9 @@
         fprintf(fp,"NoSound = %d\n",pdata->args.nosound);
         fprintf(fp,"Frequency = %d\n",pdata->args.frequency);
         fprintf(fp,"Channels = %d\n",pdata->args.channels);
-        fprintf(fp,"BufferSize = %lu\n",pdata->args.buffsize);
+        fprintf(fp,"BufferSize = %lu\n",(unsigned long)pdata->args.buffsize);
         fprintf(fp,"SoundFrameSize = %d\n",pdata->sound_framesize);
-        fprintf(fp,"PeriodSize = %lu\n",pdata->periodsize);
+        fprintf(fp,"PeriodSize = %lu\n",(unsigned long)pdata->periodsize);
         fprintf(fp,"UsedJack = %d\n",pdata->args.use_jack);
         fprintf(fp,"v_bitrate = %d\n",pdata->args.v_bitrate);
         fprintf(fp,"v_quality = %d\n",pdata->args.v_quality);
@@ -119,7 +119,8 @@
             fprintf(stderr,"Error reading Channels attribute!!!\n");
             return 1;
         }
-        if(fscanf(fp,"BufferSize = %lu\n",&pdata->args.buffsize)!=1){
+        if(fscanf(fp,"BufferSize = %lu\n",
+	    (unsigned long *)&pdata->args.buffsize)!=1){
             fprintf(stderr,"Error reading BufferSize attribute!!!\n");
             return 1;
         }
@@ -127,7 +128,8 @@
             fprintf(stderr,"Error reading SoundFrameSize attribute!!!\n");
             return 1;
         }
-        if(fscanf(fp,"PeriodSize = %lu\n",&pdata->periodsize)!=1){
+        if(fscanf(fp,"PeriodSize = %lu\n",
+	    (unsigned long *)&pdata->periodsize)!=1){
             fprintf(stderr,"Error reading PeriodSize attribute!!!\n");
             return 1;
         }

Youez - 2016 - github.com/yon3zu
LinuXploit