diff options
author | Daniel Stenberg <daniel@haxx.se> | 2005-11-21 16:07:21 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2005-11-21 16:07:21 +0000 |
commit | 0906aa71838d918a31232ae8f121b5fa947211f2 (patch) | |
tree | d31dadbd4dbb79b477dc8ca7616d80cf93efd0e8 | |
parent | 3e69481fe4d235e7bb39699251dffb2367fa7c37 (diff) | |
download | rockbox-0906aa71838d918a31232ae8f121b5fa947211f2.tar.gz rockbox-0906aa71838d918a31232ae8f121b5fa947211f2.zip |
fixed compiler warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8027 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | tools/descramble.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/descramble.c b/tools/descramble.c index 7376190c69..925d7c279f 100644 --- a/tools/descramble.c +++ b/tools/descramble.c | |||
@@ -19,6 +19,7 @@ | |||
19 | 19 | ||
20 | #include <stdio.h> | 20 | #include <stdio.h> |
21 | #include <stdlib.h> | 21 | #include <stdlib.h> |
22 | #include <string.h> | ||
22 | 23 | ||
23 | #include "iriver.h" | 24 | #include "iriver.h" |
24 | 25 | ||
@@ -38,8 +39,8 @@ int main (int argc, char** argv) | |||
38 | { | 39 | { |
39 | unsigned long length,i,slen; | 40 | unsigned long length,i,slen; |
40 | unsigned char *inbuf,*outbuf; | 41 | unsigned char *inbuf,*outbuf; |
41 | unsigned char *iname = argv[1]; | 42 | char *iname = argv[1]; |
42 | unsigned char *oname = argv[2]; | 43 | char *oname = argv[2]; |
43 | unsigned char header[32]; | 44 | unsigned char header[32]; |
44 | int headerlen = 6; | 45 | int headerlen = 6; |
45 | int descramble = 1; | 46 | int descramble = 1; |