summaryrefslogtreecommitdiffstats
path: root/src/utils
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2007-09-04 20:01:19 +0000
committerLennart Poettering <lennart@poettering.net>2007-09-04 20:01:19 +0000
commit4c31ff9b452eee995e621bd877f321eea974fc7e (patch)
tree280b718edf0f177fe73b81ca1a68bfa9b3c305a9 /src/utils
parent2dbe137daf8c74feca75ead33d5f8fbc84544af1 (diff)
fix a couple of compiler warnings
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1768 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/paplay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/paplay.c b/src/utils/paplay.c
index 2c779a7a..e7076d2d 100644
--- a/src/utils/paplay.c
+++ b/src/utils/paplay.c
@@ -123,7 +123,7 @@ static void stream_write_callback(pa_stream *s, size_t length, void *userdata) {
else
pa_xfree(data);
- if (bytes < length) {
+ if (bytes < (sf_count_t) length) {
sf_close(sndfile);
sndfile = NULL;
pa_operation_unref(pa_stream_drain(s, stream_drain_complete, NULL));