diff options
-rw-r--r-- | src/tests/smoother-test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/smoother-test.c b/src/tests/smoother-test.c index c0501ecc..caa7df70 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; |