summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBarry Wardell <rockbox@barrywardell.net>2007-03-22 15:59:58 +0000
committerBarry Wardell <rockbox@barrywardell.net>2007-03-22 15:59:58 +0000
commit176cd65e4ced87affdd9d32ed0e21c44156a57f8 (patch)
tree1d4f7d3f2fa22489fa472172455ce0e677035229
parent149a7bab5bcd835a7370c3ae19a6d193a0d92e84 (diff)
Fix red.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12893 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--tools/descramble.c2
-rw-r--r--tools/scramble.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/descramble.c b/tools/descramble.c
index 9d45b8c0dc..3d09bfad75 100644
--- a/tools/descramble.c
+++ b/tools/descramble.c
@@ -28,7 +28,7 @@ int iaudio_decode(char *iname, char *oname);
unsigned int le2int(unsigned char* buf)
{
- int32_t res = (buf[3] << 24) | (buf[2] << 16) | (buf[1] << 8) | buf[0];
+ unsigned int res = (buf[3] << 24) | (buf[2] << 16) | (buf[1] << 8) | buf[0];
return res;
}
diff --git a/tools/scramble.c b/tools/scramble.c
index 555bf84291..9a64a5aeed 100644
--- a/tools/scramble.c
+++ b/tools/scramble.c
@@ -54,7 +54,7 @@ void short2le(unsigned short val, unsigned char* addr)
unsigned int le2int(unsigned char* buf)
{
- int32_t res = (buf[3] << 24) | (buf[2] << 16) | (buf[1] << 8) | buf[0];
+ unsigned int res = (buf[3] << 24) | (buf[2] << 16) | (buf[1] << 8) | buf[0];
return res;
}