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.zip rockbox-1b1bd7ef463d257903cf68348b7c8414ea7eeb53.tar.gz rockbox-1b1bd7ef463d257903cf68348b7c8414ea7eeb53.tar.bz2 rockbox-1b1bd7ef463d257903cf68348b7c8414ea7eeb53.tar.xz | |
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 d6c49ac..bd49e87 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, return; } -int beastpatcher(const unsigned char* bootfile) +int beastpatcher(const char* bootfile) { char yesno[4]; unsigned char* fwbuf; diff --git a/utils/MTP/beastpatcher/beastpatcher.h b/utils/MTP/beastpatcher/beastpatcher.h index f523979..8993932 100644 --- a/utils/MTP/beastpatcher/beastpatcher.h +++ b/utils/MTP/beastpatcher/beastpatcher.h @@ -40,7 +40,7 @@ #ifndef BEASTPATCHER_H #define BEASTPATCHER_H -int beastpatcher(const unsigned char* bootfile); +int beastpatcher(const char* bootfile); int sendfirm(const char* filename); #endif diff --git a/utils/MTP/beastpatcher/main.c b/utils/MTP/beastpatcher/main.c index f5150bb..873dad5 100644 --- a/utils/MTP/beastpatcher/main.c +++ b/utils/MTP/beastpatcher/main.c @@ -85,8 +85,8 @@ int main(int argc, char* argv[]) int res = 0; char yesno[4]; int i; - unsigned char* bootloader = NULL; - unsigned char* firmware = NULL; + char* bootloader = NULL; + char* firmware = NULL; #ifdef WITH_BOOTOBJS int action = INSTALL; #else |