diff options
author | Barry Wardell <rockbox@barrywardell.net> | 2007-03-22 15:59:58 +0000 |
---|---|---|
committer | Barry Wardell <rockbox@barrywardell.net> | 2007-03-22 15:59:58 +0000 |
commit | 176cd65e4ced87affdd9d32ed0e21c44156a57f8 (patch) | |
tree | 1d4f7d3f2fa22489fa472172455ce0e677035229 | |
parent | 149a7bab5bcd835a7370c3ae19a6d193a0d92e84 (diff) | |
download | rockbox-176cd65e4ced87affdd9d32ed0e21c44156a57f8.tar.gz rockbox-176cd65e4ced87affdd9d32ed0e21c44156a57f8.zip |
Fix red.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12893 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | tools/descramble.c | 2 | ||||
-rw-r--r-- | tools/scramble.c | 2 |
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); | |||
28 | 28 | ||
29 | unsigned int le2int(unsigned char* buf) | 29 | unsigned int le2int(unsigned char* buf) |
30 | { | 30 | { |
31 | int32_t res = (buf[3] << 24) | (buf[2] << 16) | (buf[1] << 8) | buf[0]; | 31 | unsigned int res = (buf[3] << 24) | (buf[2] << 16) | (buf[1] << 8) | buf[0]; |
32 | 32 | ||
33 | return res; | 33 | return res; |
34 | } | 34 | } |
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) | |||
54 | 54 | ||
55 | unsigned int le2int(unsigned char* buf) | 55 | unsigned int le2int(unsigned char* buf) |
56 | { | 56 | { |
57 | int32_t res = (buf[3] << 24) | (buf[2] << 16) | (buf[1] << 8) | buf[0]; | 57 | unsigned int res = (buf[3] << 24) | (buf[2] << 16) | (buf[1] << 8) | buf[0]; |
58 | 58 | ||
59 | return res; | 59 | return res; |
60 | } | 60 | } |