projects
/
profile
/
ivi
/
pulseaudio-panda.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56804de
)
minor fix to make gcc shut up
author
Lennart Poettering
<lennart@poettering.net>
Sat, 27 Oct 2007 16:16:01 +0000
(16:16 +0000)
committer
Lennart 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
patch
|
blob
|
history
diff --git
a/src/tests/smoother-test.c
b/src/tests/smoother-test.c
index
c0501ec
..
caa7df7
100644
(file)
--- 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;