Fix signedness mismatch.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22733 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dominik Riebeling 2009-09-18 21:36:33 +00:00
parent f43c0aba32
commit 1b1bd7ef46
3 changed files with 4 additions and 4 deletions

View file

@ -127,7 +127,7 @@ static void create_single_boot(unsigned char* boot, int bootlen,
return; return;
} }
int beastpatcher(const unsigned char* bootfile) int beastpatcher(const char* bootfile)
{ {
char yesno[4]; char yesno[4];
unsigned char* fwbuf; unsigned char* fwbuf;

View file

@ -40,7 +40,7 @@
#ifndef BEASTPATCHER_H #ifndef BEASTPATCHER_H
#define BEASTPATCHER_H #define BEASTPATCHER_H
int beastpatcher(const unsigned char* bootfile); int beastpatcher(const char* bootfile);
int sendfirm(const char* filename); int sendfirm(const char* filename);
#endif #endif

View file

@ -85,8 +85,8 @@ int main(int argc, char* argv[])
int res = 0; int res = 0;
char yesno[4]; char yesno[4];
int i; int i;
unsigned char* bootloader = NULL; char* bootloader = NULL;
unsigned char* firmware = NULL; char* firmware = NULL;
#ifdef WITH_BOOTOBJS #ifdef WITH_BOOTOBJS
int action = INSTALL; int action = INSTALL;
#else #else