diff options
Diffstat (limited to 'tools/descramble.c')
-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; |