diff options
| author | Nils Wallménius <nils@rockbox.org> | 2010-07-15 16:30:48 +0000 |
|---|---|---|
| committer | Nils Wallménius <nils@rockbox.org> | 2010-07-15 16:30:48 +0000 |
| commit | 30a55c15c050519ae72e46f0e0c3ea5ef77e25de (patch) | |
| tree | af71b4f609d92be63ed418545222cf2f6f0fc2f7 | |
| parent | a87c61854ef614b258ca7d4d0b40db017884e63e (diff) | |
| download | rockbox-30a55c15c050519ae72e46f0e0c3ea5ef77e25de.zip rockbox-30a55c15c050519ae72e46f0e0c3ea5ef77e25de.tar.gz rockbox-30a55c15c050519ae72e46f0e0c3ea5ef77e25de.tar.bz2 rockbox-30a55c15c050519ae72e46f0e0c3ea5ef77e25de.tar.xz | |
Hopefully fix 'comparison between signed and unsigned' warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27431 a1c6a512-1295-4272-9138-f99709370657
| -rw-r--r-- | apps/codecs/libffmpegFLAC/shndec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/codecs/libffmpegFLAC/shndec.c b/apps/codecs/libffmpegFLAC/shndec.c index b107b35..db79844 100644 --- a/apps/codecs/libffmpegFLAC/shndec.c +++ b/apps/codecs/libffmpegFLAC/shndec.c @@ -423,7 +423,7 @@ int shorten_init(ShortenContext* s, uint8_t *buf, int buf_size) get_bits(&s->gb, s->bitindex); /* shorten signature */ - if (get_bits_long(&s->gb, 32) != bswap_32(ff_get_fourcc("ajkg"))) { + if ((unsigned)get_bits_long(&s->gb, 32) != bswap_32(ff_get_fourcc("ajkg"))) { return -1; } |