summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2008-04-23 18:17:17 +0000
committerLennart Poettering <lennart@poettering.net>2008-04-23 18:17:17 +0000
commitf2dffb717d592fb02f009f235e8a05763c500684 (patch)
tree3f1de48c2cdd208614b6440bc62475eede92d749
parent0b183fbdc6c83a0fe0f19343c72a524f0bb2ca9f (diff)
pa_bool_t'ization
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2306 fefdeb5f-60dc-0310-8127-8f9354f1896f
-rw-r--r--src/tests/asyncq-test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/asyncq-test.c b/src/tests/asyncq-test.c
index 09b20047..0e10ed89 100644
--- a/src/tests/asyncq-test.c
+++ b/src/tests/asyncq-test.c
@@ -44,7 +44,7 @@ static void producer(void *_q) {
pa_asyncq_push(q, PA_UINT_TO_PTR(i+1), 1);
}
- pa_asyncq_push(q, PA_UINT_TO_PTR(-1), 1);
+ pa_asyncq_push(q, PA_UINT_TO_PTR(-1), TRUE);
printf("pushed end\n");
}
@@ -56,7 +56,7 @@ static void consumer(void *_q) {
sleep(1);
for (i = 0;; i++) {
- p = pa_asyncq_pop(q, 1);
+ p = pa_asyncq_pop(q, TRUE);
if (p == PA_UINT_TO_PTR(-1))
break;