diff options
author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2020-09-25 18:10:21 +0200 |
---|---|---|
committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2020-09-27 09:28:05 +0200 |
commit | 3806f57ed8a220358e701b4f29703dd3820ac686 (patch) | |
tree | f1059745765d9d10a152d422e3178f930278b8e9 /rbutil/ipodpatcher/ipodpatcher.c | |
parent | 0f23cadbca7abeedcb493d0612e250a0259ca33e (diff) | |
download | rockbox-3806f57ed8a220358e701b4f29703dd3820ac686.tar.gz rockbox-3806f57ed8a220358e701b4f29703dd3820ac686.zip |
ipodpatcher: Fix some type warnings.
Change-Id: I66fa99db3f4913bafa17a1e976cbfd08e26349ce
Diffstat (limited to 'rbutil/ipodpatcher/ipodpatcher.c')
-rw-r--r-- | rbutil/ipodpatcher/ipodpatcher.c | 4 |
1 files changed, 2 insertions, 2 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; |