summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2007-10-27 16:16:01 +0000
committerLennart Poettering <lennart@poettering.net>2007-10-27 16:16:01 +0000
commit87faa546c2e32e49f810e77b5e1ea1d3b990d39b (patch)
tree7bba26077a40f668f7d4c1248ed48c157be1793a
parent56804de3d384d6d2b345a53e69a488b2d4587aef (diff)
minor fix to make gcc shut up
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1960 fefdeb5f-60dc-0310-8127-8f9354f1896f
-rw-r--r--src/tests/smoother-test.c2
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;