From f059c857b202a2428b1b4757de2d3d9f23fdf9a3 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 14 Aug 2008 19:09:33 +0200 Subject: enable a few additional gcc warnings and fix all problems found --- src/read-sound-file.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/read-sound-file.h') diff --git a/src/read-sound-file.h b/src/read-sound-file.h index fe9d76a..2107c56 100644 --- a/src/read-sound-file.h +++ b/src/read-sound-file.h @@ -39,10 +39,10 @@ unsigned ca_sound_file_get_nchannels(ca_sound_file *f); unsigned ca_sound_file_get_rate(ca_sound_file *f); ca_sample_type_t ca_sound_file_get_sample_type(ca_sound_file *f); -size_t ca_sound_file_get_size(ca_sound_file *f); +off_t ca_sound_file_get_size(ca_sound_file *f); -int ca_sound_file_read_int16(ca_sound_file *f, int16_t *d, unsigned *n); -int ca_sound_file_read_uint8(ca_sound_file *f, uint8_t *d, unsigned *n); +int ca_sound_file_read_int16(ca_sound_file *f, int16_t *d, size_t *n); +int ca_sound_file_read_uint8(ca_sound_file *f, uint8_t *d, size_t *n); int ca_sound_file_read_arbitrary(ca_sound_file *f, void *d, size_t *n); -- cgit