summaryrefslogtreecommitdiffstats
path: root/src/tests/rtstutter.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2008-05-17 09:07:35 +0000
committerLennart Poettering <lennart@poettering.net>2008-05-17 09:07:35 +0000
commitb709ab50e0e894aa7a30de4ed056190aa39e7266 (patch)
treef5986eaea31f3e84a53ef1f21de961627f5935f3 /src/tests/rtstutter.c
parent85d9abea8a6ae8582a6e01ba1ca3d040cf833f5b (diff)
fix a minor compiler warning
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2449 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/tests/rtstutter.c')
-rw-r--r--src/tests/rtstutter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/rtstutter.c b/src/tests/rtstutter.c
index 39dfc5d3..4753ee90 100644
--- a/src/tests/rtstutter.c
+++ b/src/tests/rtstutter.c
@@ -75,7 +75,7 @@ static void* work(void *p) {
end.tv_sec += nsec / PA_NSEC_PER_SEC;
end.tv_nsec += nsec % PA_NSEC_PER_SEC;
- while (end.tv_nsec > PA_NSEC_PER_SEC) {
+ while ((pa_usec_t) end.tv_nsec > PA_NSEC_PER_SEC) {
end.tv_sec++;
end.tv_nsec -= PA_NSEC_PER_SEC;
}