summaryrefslogtreecommitdiffstats
path: root/src/file_au.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2014-11-15 12:29:48 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2014-11-15 12:29:48 +0100
commit5ed8822f2b3cc95bf7f9bda45bf7b57e8a693f6d (patch)
tree69fd55db22dbc9b3d4d7ebc6aba46203a9c82b0e /src/file_au.c
parent17040353bc6dc9d3ac701037fe90ce69382fb49f (diff)
Turn off various signed/unsigned comparaison warnings
Diffstat (limited to 'src/file_au.c')
-rw-r--r--src/file_au.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file_au.c b/src/file_au.c
index 7b8c35f..44edeb5 100644
--- a/src/file_au.c
+++ b/src/file_au.c
@@ -66,7 +66,7 @@ static int header_check_au(const unsigned char *buffer, const unsigned int buffe
{
const struct header_au_s *au=(const struct header_au_s *)buffer;
if(memcmp(buffer,au_header,sizeof(au_header))==0 &&
- be32(au->offset) >= sizeof(struct header_au_s) &&
+ (const uint32_t)be32(au->offset) >= sizeof(struct header_au_s) &&
be32(au->encoding)>0 && be32(au->encoding)<=27 &&
be32(au->channels)>0 && be32(au->channels)<=256)
{