diff options
author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2009-09-18 21:36:33 +0000 |
---|---|---|
committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2009-09-18 21:36:33 +0000 |
commit | 1b1bd7ef463d257903cf68348b7c8414ea7eeb53 (patch) | |
tree | a9377fbca8b330edf32ab25f97db6e09afaa8526 /utils/MTP | |
parent | f43c0aba322f37c0ecb4609ca263d6e56302538b (diff) | |
download | rockbox-1b1bd7ef463d257903cf68348b7c8414ea7eeb53.tar.gz rockbox-1b1bd7ef463d257903cf68348b7c8414ea7eeb53.zip |
Fix signedness mismatch.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22733 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/MTP')
-rw-r--r-- | utils/MTP/beastpatcher/beastpatcher.c | 2 | ||||
-rw-r--r-- | utils/MTP/beastpatcher/beastpatcher.h | 2 | ||||
-rw-r--r-- | utils/MTP/beastpatcher/main.c | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/utils/MTP/beastpatcher/beastpatcher.c b/utils/MTP/beastpatcher/beastpatcher.c index d6c49ac596..bd49e87f6d 100644 --- a/utils/MTP/beastpatcher/beastpatcher.c +++ b/utils/MTP/beastpatcher/beastpatcher.c | |||
@@ -127,7 +127,7 @@ static void create_single_boot(unsigned char* boot, int bootlen, | |||
127 | return; | 127 | return; |
128 | } | 128 | } |
129 | 129 | ||
130 | int beastpatcher(const unsigned char* bootfile) | 130 | int beastpatcher(const char* bootfile) |
131 | { | 131 | { |
132 | char yesno[4]; | 132 | char yesno[4]; |
133 | unsigned char* fwbuf; | 133 | unsigned char* fwbuf; |
diff --git a/utils/MTP/beastpatcher/beastpatcher.h b/utils/MTP/beastpatcher/beastpatcher.h index f523979662..899393272f 100644 --- a/utils/MTP/beastpatcher/beastpatcher.h +++ b/utils/MTP/beastpatcher/beastpatcher.h | |||
@@ -40,7 +40,7 @@ | |||
40 | #ifndef BEASTPATCHER_H | 40 | #ifndef BEASTPATCHER_H |
41 | #define BEASTPATCHER_H | 41 | #define BEASTPATCHER_H |
42 | 42 | ||
43 | int beastpatcher(const unsigned char* bootfile); | 43 | int beastpatcher(const char* bootfile); |
44 | int sendfirm(const char* filename); | 44 | int sendfirm(const char* filename); |
45 | 45 | ||
46 | #endif | 46 | #endif |
diff --git a/utils/MTP/beastpatcher/main.c b/utils/MTP/beastpatcher/main.c index f5150bbbab..873dad5c7f 100644 --- a/utils/MTP/beastpatcher/main.c +++ b/utils/MTP/beastpatcher/main.c | |||
@@ -85,8 +85,8 @@ int main(int argc, char* argv[]) | |||
85 | int res = 0; | 85 | int res = 0; |
86 | char yesno[4]; | 86 | char yesno[4]; |
87 | int i; | 87 | int i; |
88 | unsigned char* bootloader = NULL; | 88 | char* bootloader = NULL; |
89 | unsigned char* firmware = NULL; | 89 | char* firmware = NULL; |
90 | #ifdef WITH_BOOTOBJS | 90 | #ifdef WITH_BOOTOBJS |
91 | int action = INSTALL; | 91 | int action = INSTALL; |
92 | #else | 92 | #else |