[pulseaudio-commits] r2449 - /trunk/src/tests/rtstutter.c

svnmailer-noreply at 0pointer.de svnmailer-noreply at 0pointer.de
Sat May 17 02:07:37 PDT 2008


Author: lennart
Date: Sat May 17 11:07:35 2008
New Revision: 2449

URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=2449&root=pulseaudio&view=rev
Log:
fix a minor compiler warning

Modified:
    trunk/src/tests/rtstutter.c

Modified: trunk/src/tests/rtstutter.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/tests/rtstutter.c?rev=2449&root=pulseaudio&r1=2448&r2=2449&view=diff
==============================================================================
--- trunk/src/tests/rtstutter.c (original)
+++ trunk/src/tests/rtstutter.c Sat May 17 11:07:35 2008
@@ -75,7 +75,7 @@
         end.tv_sec += nsec / PA_NSEC_PER_SEC;
         end.tv_nsec += nsec % PA_NSEC_PER_SEC;
 
-        while (end.tv_nsec > PA_NSEC_PER_SEC) {
+        while ((pa_usec_t) end.tv_nsec > PA_NSEC_PER_SEC) {
             end.tv_sec++;
             end.tv_nsec -= PA_NSEC_PER_SEC;
         }




More information about the pulseaudio-commits mailing list