mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
Fix signedness mismatch.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22733 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
f43c0aba32
commit
1b1bd7ef46
3 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue