diff options
author | Lennart Poettering <lennart@poettering.net> | 2007-09-04 20:01:19 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2007-09-04 20:01:19 +0000 |
commit | 4c31ff9b452eee995e621bd877f321eea974fc7e (patch) | |
tree | 280b718edf0f177fe73b81ca1a68bfa9b3c305a9 /src/pulsecore/sound-file.c | |
parent | 2dbe137daf8c74feca75ead33d5f8fbc84544af1 (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/pulsecore/sound-file.c')
-rw-r--r-- | src/pulsecore/sound-file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pulsecore/sound-file.c b/src/pulsecore/sound-file.c index 7c8b5970..ef43eef0 100644 --- a/src/pulsecore/sound-file.c +++ b/src/pulsecore/sound-file.c @@ -126,7 +126,7 @@ int pa_sound_file_load( ptr = pa_memblock_acquire(chunk->memblock); if ((readf_function && readf_function(sf, ptr, sfinfo.frames) != sfinfo.frames) || - (!readf_function && sf_read_raw(sf, ptr, l) != l)) { + (!readf_function && sf_read_raw(sf, ptr, l) != (sf_count_t) l)) { pa_log("Premature file end"); goto finish; } |