summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-05-07 22:15:59 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-05-07 22:15:59 +0000
commitf34ce792ec48984721016137cb254ed2dc06411c (patch)
tree11aa7052c2d8c82c9ae2de7beff43c97fb1a1745
parent4cc0b97609a9c94abef6b4422c2c87c599776f44 (diff)
downloadrockbox-f34ce792ec48984721016137cb254ed2dc06411c.tar.gz
rockbox-f34ce792ec48984721016137cb254ed2dc06411c.zip
fix a couple of warnings, still have numerous for signed <=> unsigned mixed
usage git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6418 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/codecs/libmusepack/mpc_decoder.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/codecs/libmusepack/mpc_decoder.c b/apps/codecs/libmusepack/mpc_decoder.c
index 39dfc1d25a..d58611c23a 100644
--- a/apps/codecs/libmusepack/mpc_decoder.c
+++ b/apps/codecs/libmusepack/mpc_decoder.c
@@ -35,6 +35,7 @@
35/// \file mpc_decoder.c 35/// \file mpc_decoder.c
36/// Core decoding routines and logic. 36/// Core decoding routines and logic.
37 37
38#include <string.h>
38#include "musepack.h" 39#include "musepack.h"
39#include "internal.h" 40#include "internal.h"
40#include "requant.h" 41#include "requant.h"
@@ -1254,6 +1255,7 @@ helper3(mpc_decoder *d, mpc_uint32_t bitpos, mpc_uint32_t* buffoffs)
1254static mpc_uint32_t get_initial_fpos(mpc_decoder *d, mpc_uint32_t StreamVersion) 1255static mpc_uint32_t get_initial_fpos(mpc_decoder *d, mpc_uint32_t StreamVersion)
1255{ 1256{
1256 mpc_uint32_t fpos = 0; 1257 mpc_uint32_t fpos = 0;
1258 (void)StreamVersion;
1257 switch ( d->StreamVersion ) { // setting position to the beginning of the data-bitstream 1259 switch ( d->StreamVersion ) { // setting position to the beginning of the data-bitstream
1258 case 0x04: fpos = 48; break; 1260 case 0x04: fpos = 48; break;
1259 case 0x05: 1261 case 0x05: