diff options
author | Lennart Poettering <lennart@poettering.net> | 2008-08-14 19:09:33 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2008-08-14 19:09:33 +0200 |
commit | f059c857b202a2428b1b4757de2d3d9f23fdf9a3 (patch) | |
tree | 7298fdb125cfbb1543616cd46b63442d50a3f4ba /src/read-sound-file.h | |
parent | 876bbf8c2f3ea26e6553a431f5042cd9d2c99723 (diff) |
enable a few additional gcc warnings and fix all problems found
Diffstat (limited to 'src/read-sound-file.h')
-rw-r--r-- | src/read-sound-file.h | 6 |
1 files changed, 3 insertions, 3 deletions
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); |