[pulseaudio-commits] r1960 - /branches/lennart/src/tests/smoother-test.c

svnmailer-noreply at 0pointer.de svnmailer-noreply at 0pointer.de
Sat Oct 27 09:16:02 PDT 2007


Author: lennart
Date: Sat Oct 27 18:16:01 2007
New Revision: 1960

URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=1960&root=pulseaudio&view=rev
Log:
minor fix to make gcc shut up

Modified:
    branches/lennart/src/tests/smoother-test.c

Modified: branches/lennart/src/tests/smoother-test.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/branches/lennart/src/tests/smoother-test.c?rev=1960&root=pulseaudio&r1=1959&r2=1960&view=diff
==============================================================================
--- branches/lennart/src/tests/smoother-test.c (original)
+++ branches/lennart/src/tests/smoother-test.c Sat Oct 27 18:16:01 2007
@@ -65,7 +65,7 @@
 
     for (x = 0, u = 0; x < PA_USEC_PER_SEC * 10; x += PA_USEC_PER_MSEC) {
 
-        while (msec[u] > 0 && msec[u]*PA_USEC_PER_MSEC < x) {
+        while (msec[u] > 0 && (pa_usec_t) msec[u]*PA_USEC_PER_MSEC < x) {
             pa_smoother_put(s, msec[u]*PA_USEC_PER_MSEC, msec[u+1]*PA_USEC_PER_MSEC);
             printf("%i\t\t%i\n", msec[u],  msec[u+1]);
             u += 2;




More information about the pulseaudio-commits mailing list