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-wav.h | |
parent | 876bbf8c2f3ea26e6553a431f5042cd9d2c99723 (diff) |
enable a few additional gcc warnings and fix all problems found
Diffstat (limited to 'src/read-wav.h')
-rw-r--r-- | src/read-wav.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/read-wav.h b/src/read-wav.h index 9ecf263..00708c3 100644 --- a/src/read-wav.h +++ b/src/read-wav.h @@ -34,9 +34,9 @@ unsigned ca_wav_get_nchannels(ca_wav *f); unsigned ca_wav_get_rate(ca_wav *f); ca_sample_type_t ca_wav_get_sample_type(ca_wav *f); -int ca_wav_read_u8(ca_wav *f, uint8_t *d, unsigned *n); -int ca_wav_read_s16le(ca_wav *f, int16_t *d, unsigned *n); +int ca_wav_read_u8(ca_wav *f, uint8_t *d, size_t *n); +int ca_wav_read_s16le(ca_wav *f, int16_t *d, size_t *n); -size_t ca_wav_get_size(ca_wav *f); +off_t ca_wav_get_size(ca_wav *f); #endif |