summaryrefslogtreecommitdiffstats
path: root/rbutil/ipodpatcher
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2007-07-29 21:25:09 +0000
committerDave Chapman <dave@dchapman.com>2007-07-29 21:25:09 +0000
commit0be3036a20fc7cde87663caa053adf512bd7ab92 (patch)
tree3838312ec30b226ae9ed68fb44fc463b7f504666 /rbutil/ipodpatcher
parent2cc80f502e93b4f041fbc80f00cb76e7de47730d (diff)
downloadrockbox-0be3036a20fc7cde87663caa053adf512bd7ab92.tar.gz
rockbox-0be3036a20fc7cde87663caa053adf512bd7ab92.tar.bz2
rockbox-0be3036a20fc7cde87663caa053adf512bd7ab92.zip
Fix some more warnings (these only occurred on Mac OS X, so I missed them on Linux/x86).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14067 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/ipodpatcher')
-rw-r--r--rbutil/ipodpatcher/ipodpatcher.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/rbutil/ipodpatcher/ipodpatcher.c b/rbutil/ipodpatcher/ipodpatcher.c
index 45fb24d4fc..fb7611dbad 100644
--- a/rbutil/ipodpatcher/ipodpatcher.c
+++ b/rbutil/ipodpatcher/ipodpatcher.c
@@ -302,7 +302,7 @@ int read_partition(struct ipod_t* ipod, int outfile)
if (n < chunksize) {
fprintf(stderr,
"[ERR] Short read in disk_read() - requested %d, got %d\n",
- chunksize,n);
+ chunksize,(int)n);
return -1;
}
@@ -317,7 +317,7 @@ int read_partition(struct ipod_t* ipod, int outfile)
if (res != n) {
fprintf(stderr,
- "Short write - requested %d, received %d - aborting.\n",n,res);
+ "Short write - requested %d, received %d - aborting.\n",(int)n,res);
return -1;
}
}
@@ -370,7 +370,7 @@ int write_partition(struct ipod_t* ipod, int infile)
}
if (res != n) {
- fprintf(stderr,"[ERR] Short write - requested %d, received %d - aborting.\n",n,res);
+ fprintf(stderr,"[ERR] Short write - requested %d, received %d - aborting.\n",n,(int)res);
return -1;
}