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;
}
int beastpatcher(const unsigned char* bootfile)
int beastpatcher(const char* bootfile)
{
char yesno[4];
unsigned char* fwbuf;

View file

@ -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

View file

@ -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