[polypaudio-commits] r948 - in /trunk/src: polyp/sample.c polypcore/core-util.c

svnmailer-noreply at 0pointer.de svnmailer-noreply at 0pointer.de
Tue May 23 00:33:34 PDT 2006


Author: ossman
Date: Tue May 23 09:33:33 2006
New Revision: 948

URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=948&root=polypaudio&view=rev
Log:
Fix some warnings.

Modified:
    trunk/src/polyp/sample.c
    trunk/src/polypcore/core-util.c

Modified: trunk/src/polyp/sample.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/polyp/sample.c?rev=948&root=polypaudio&r1=947&r2=948&view=diff
==============================================================================
--- trunk/src/polyp/sample.c (original)
+++ trunk/src/polyp/sample.c Tue May 23 09:33:33 2006
@@ -46,6 +46,7 @@
             return 4;
         default:
             assert(0);
+            return 0;
     }
 }
 

Modified: trunk/src/polypcore/core-util.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/polypcore/core-util.c?rev=948&root=polypaudio&r1=947&r2=948&view=diff
==============================================================================
--- trunk/src/polypcore/core-util.c (original)
+++ trunk/src/polypcore/core-util.c Tue May 23 09:33:33 2006
@@ -564,7 +564,7 @@
     data = pa_xmalloc(n);
 
     if (getgrgid_r(gid, &group, data, n, &result) < 0 || !result) {
-        pa_log(__FILE__": getgrgid_r(%u): %s", gid, pa_cstrerror(errno));
+        pa_log(__FILE__": getgrgid_r(%u): %s", (unsigned)gid, pa_cstrerror(errno));
         goto finish;
     }
 




More information about the pulseaudio-commits mailing list