From 87faa546c2e32e49f810e77b5e1ea1d3b990d39b Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sat, 27 Oct 2007 16:16:01 +0000 Subject: [PATCH] minor fix to make gcc shut up git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1960 fefdeb5f-60dc-0310-8127-8f9354f1896f --- src/tests/smoother-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tests/smoother-test.c b/src/tests/smoother-test.c index c0501ec..caa7df7 100644 --- a/src/tests/smoother-test.c +++ b/src/tests/smoother-test.c @@ -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; -- 2.7.4