diff options
author | Christian Gmeiner <christian.gmeiner@gmail.com> | 2005-02-25 17:19:32 +0000 |
---|---|---|
committer | Christian Gmeiner <christian.gmeiner@gmail.com> | 2005-02-25 17:19:32 +0000 |
commit | c3e55c01a53f005b8f6042755a83bb7059f98e7b (patch) | |
tree | 2c3f7f99844f852a52283ce6df8614e513910c49 /apps/codecs/libwavpack/metadata.c | |
parent | e449d88b3e6b584998f8f38ed61467c35ca74466 (diff) |
changes to compile without warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6057 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libwavpack/metadata.c')
-rw-r--r-- | apps/codecs/libwavpack/metadata.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/codecs/libwavpack/metadata.c b/apps/codecs/libwavpack/metadata.c index 40ede99cd4..661b25edc8 100644 --- a/apps/codecs/libwavpack/metadata.c +++ b/apps/codecs/libwavpack/metadata.c @@ -40,7 +40,7 @@ int read_metadata_buff (WavpackContext *wpc, WavpackMetadata *wpmd) wpmd->byte_length--; } - if (wpmd->byte_length && wpmd->byte_length <= sizeof (wpc->read_buffer)) { + if (wpmd->byte_length && wpmd->byte_length <= (long)sizeof (wpc->read_buffer)) { ulong bytes_to_read = wpmd->byte_length + (wpmd->byte_length & 1); if (wpc->infile (wpc->read_buffer, bytes_to_read) != (long) bytes_to_read) { |