fix a couple of compiler warnings

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1768 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
Lennart Poettering 2007-09-04 20:01:19 +00:00
parent 2dbe137daf
commit 4c31ff9b45
7 changed files with 11 additions and 10 deletions

View file

@ -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));