summaryrefslogtreecommitdiffstats
path: root/apps
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 /apps
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
Diffstat (limited to 'apps')
-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 @@
/// \file mpc_decoder.c
/// Core decoding routines and logic.
+#include <string.h>
#include "musepack.h"
#include "internal.h"
#include "requant.h"
@@ -1254,6 +1255,7 @@ helper3(mpc_decoder *d, mpc_uint32_t bitpos, mpc_uint32_t* buffoffs)
static mpc_uint32_t get_initial_fpos(mpc_decoder *d, mpc_uint32_t StreamVersion)
{
mpc_uint32_t fpos = 0;
+ (void)StreamVersion;
switch ( d->StreamVersion ) { // setting position to the beginning of the data-bitstream
case 0x04: fpos = 48; break;
case 0x05: