forked from len0rd/rockbox
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
This commit is contained in:
parent
2cc80f502e
commit
0be3036a20
1 changed files with 3 additions and 3 deletions
|
|
@ -302,7 +302,7 @@ int read_partition(struct ipod_t* ipod, int outfile)
|
||||||
if (n < chunksize) {
|
if (n < chunksize) {
|
||||||
fprintf(stderr,
|
fprintf(stderr,
|
||||||
"[ERR] Short read in disk_read() - requested %d, got %d\n",
|
"[ERR] Short read in disk_read() - requested %d, got %d\n",
|
||||||
chunksize,n);
|
chunksize,(int)n);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -317,7 +317,7 @@ int read_partition(struct ipod_t* ipod, int outfile)
|
||||||
|
|
||||||
if (res != n) {
|
if (res != n) {
|
||||||
fprintf(stderr,
|
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;
|
return -1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -370,7 +370,7 @@ int write_partition(struct ipod_t* ipod, int infile)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (res != n) {
|
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;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue