forked from len0rd/rockbox
ipodpatcher: Fix some type warnings.
Change-Id: I66fa99db3f4913bafa17a1e976cbfd08e26349ce
This commit is contained in:
parent
0f23cadbca
commit
3806f57ed8
2 changed files with 3 additions and 3 deletions
|
|
@ -75,7 +75,7 @@ static const char *apple_stop_sign = "{{~~ /-----\\ "\
|
||||||
and initialise it with ipod_alloc_buf()
|
and initialise it with ipod_alloc_buf()
|
||||||
*/
|
*/
|
||||||
|
|
||||||
char* get_parttype(int pt)
|
char* get_parttype(unsigned int pt)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
static char unknown[]="Unknown";
|
static char unknown[]="Unknown";
|
||||||
|
|
@ -1478,7 +1478,7 @@ int read_firmware(struct ipod_t* ipod, char* filename, int type)
|
||||||
|
|
||||||
int read_directory(struct ipod_t* ipod)
|
int read_directory(struct ipod_t* ipod)
|
||||||
{
|
{
|
||||||
int n;
|
ssize_t n;
|
||||||
int x;
|
int x;
|
||||||
unsigned char* p;
|
unsigned char* p;
|
||||||
unsigned short version;
|
unsigned short version;
|
||||||
|
|
|
||||||
|
|
@ -40,7 +40,7 @@ extern int ipod_verbose;
|
||||||
#define FILETYPE_INTERNAL 2
|
#define FILETYPE_INTERNAL 2
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
char* get_parttype(int pt);
|
char* get_parttype(unsigned int pt);
|
||||||
int read_partinfo(struct ipod_t* ipod, int silent);
|
int read_partinfo(struct ipod_t* ipod, int silent);
|
||||||
int read_partition(struct ipod_t* ipod, int outfile);
|
int read_partition(struct ipod_t* ipod, int outfile);
|
||||||
int write_partition(struct ipod_t* ipod, int infile);
|
int write_partition(struct ipod_t* ipod, int infile);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue