mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-08 13:29:59 -05:00
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:
parent
2dbe137daf
commit
4c31ff9b45
7 changed files with 11 additions and 10 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue