summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
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