From 72fcc90f7671193fd704d9538535cc25f1bc0469 Mon Sep 17 00:00:00 2001 From: Antoine Cellerier Date: Thu, 10 Aug 2006 21:25:59 +0000 Subject: Only cast if value is used. This should fix a build warning. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10519 a1c6a512-1295-4272-9138-f99709370657 --- apps/codecs/libfaad/syntax.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/codecs/libfaad/syntax.c b/apps/codecs/libfaad/syntax.c index 85e927b74d..27f9b8a632 100644 --- a/apps/codecs/libfaad/syntax.c +++ b/apps/codecs/libfaad/syntax.c @@ -785,8 +785,9 @@ static uint8_t ics_info(NeAACDecHandle hDecoder, ic_stream *ics, bitfile *ld, { #ifdef MAIN_DEC ics->pred.predictor_reset_group_number = + (uint8_t) #endif - (uint8_t)faad_getbits(ld, 5 DEBUGVAR(1,54,"ics_info(): pred.predictor_reset_group_number")); + faad_getbits(ld, 5 DEBUGVAR(1,54,"ics_info(): pred.predictor_reset_group_number")); } for (sfb = 0; sfb < limit; sfb++) -- cgit v1.2.3