minor fix to make gcc shut up
authorLennart Poettering <lennart@poettering.net>
Sat, 27 Oct 2007 16:16:01 +0000 (16:16 +0000)
committerLennart Poettering <lennart@poettering.net>
Sat, 27 Oct 2007 16:16:01 +0000 (16:16 +0000)
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1960 fefdeb5f-60dc-0310-8127-8f9354f1896f

src/tests/smoother-test.c

index c0501ec..caa7df7 100644 (file)
@@ -65,7 +65,7 @@ int main(int argc, char*argv[]) {
 
     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;