summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2009-09-18 21:36:33 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2009-09-18 21:36:33 +0000
commit1b1bd7ef463d257903cf68348b7c8414ea7eeb53 (patch)
treea9377fbca8b330edf32ab25f97db6e09afaa8526 /utils
parentf43c0aba322f37c0ecb4609ca263d6e56302538b (diff)
downloadrockbox-1b1bd7ef463d257903cf68348b7c8414ea7eeb53.tar.gz
rockbox-1b1bd7ef463d257903cf68348b7c8414ea7eeb53.tar.bz2
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')
-rw-r--r--utils/MTP/beastpatcher/beastpatcher.c2
-rw-r--r--utils/MTP/beastpatcher/beastpatcher.h2
-rw-r--r--utils/MTP/beastpatcher/main.c4
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,
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 f523979662..899393272f 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 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[])
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