diff options
-rw-r--r-- | rbutil/ipodpatcher/ipodpatcher.c | 4 | ||||
-rw-r--r-- | rbutil/ipodpatcher/ipodpatcher.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/rbutil/ipodpatcher/ipodpatcher.c b/rbutil/ipodpatcher/ipodpatcher.c index 55f501dc6c..6df9060bdc 100644 --- a/rbutil/ipodpatcher/ipodpatcher.c +++ b/rbutil/ipodpatcher/ipodpatcher.c | |||
@@ -75,7 +75,7 @@ static const char *apple_stop_sign = "{{~~ /-----\\ "\ | |||
75 | and initialise it with ipod_alloc_buf() | 75 | and initialise it with ipod_alloc_buf() |
76 | */ | 76 | */ |
77 | 77 | ||
78 | char* get_parttype(int pt) | 78 | char* get_parttype(unsigned int pt) |
79 | { | 79 | { |
80 | int i; | 80 | int i; |
81 | static char unknown[]="Unknown"; | 81 | static char unknown[]="Unknown"; |
@@ -1478,7 +1478,7 @@ int read_firmware(struct ipod_t* ipod, char* filename, int type) | |||
1478 | 1478 | ||
1479 | int read_directory(struct ipod_t* ipod) | 1479 | int read_directory(struct ipod_t* ipod) |
1480 | { | 1480 | { |
1481 | int n; | 1481 | ssize_t n; |
1482 | int x; | 1482 | int x; |
1483 | unsigned char* p; | 1483 | unsigned char* p; |
1484 | unsigned short version; | 1484 | unsigned short version; |
diff --git a/rbutil/ipodpatcher/ipodpatcher.h b/rbutil/ipodpatcher/ipodpatcher.h index 01f5a1bb26..6f0498a4e0 100644 --- a/rbutil/ipodpatcher/ipodpatcher.h +++ b/rbutil/ipodpatcher/ipodpatcher.h | |||
@@ -40,7 +40,7 @@ extern int ipod_verbose; | |||
40 | #define FILETYPE_INTERNAL 2 | 40 | #define FILETYPE_INTERNAL 2 |
41 | #endif | 41 | #endif |
42 | 42 | ||
43 | char* get_parttype(int pt); | 43 | char* get_parttype(unsigned int pt); |
44 | int read_partinfo(struct ipod_t* ipod, int silent); | 44 | int read_partinfo(struct ipod_t* ipod, int silent); |
45 | int read_partition(struct ipod_t* ipod, int outfile); | 45 | int read_partition(struct ipod_t* ipod, int outfile); |
46 | int write_partition(struct ipod_t* ipod, int infile); | 46 | int write_partition(struct ipod_t* ipod, int infile); |