summaryrefslogtreecommitdiffstats
path: root/rbutil/ipodpatcher/ipodio-win32.c
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2007-07-29 21:19:14 +0000
committerDave Chapman <dave@dchapman.com>2007-07-29 21:19:14 +0000
commit2cc80f502e93b4f041fbc80f00cb76e7de47730d (patch)
tree7443c95c128e1cb4f58b741e6f8753f9562ca8da /rbutil/ipodpatcher/ipodio-win32.c
parent3b1119bf27ec945a54e1d60279fc542629885c64 (diff)
downloadrockbox-2cc80f502e93b4f041fbc80f00cb76e7de47730d.tar.gz
rockbox-2cc80f502e93b4f041fbc80f00cb76e7de47730d.tar.bz2
rockbox-2cc80f502e93b4f041fbc80f00cb76e7de47730d.zip
Add -W to CFLAGS in Makefile and fix the generated warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14066 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/ipodpatcher/ipodio-win32.c')
-rw-r--r--rbutil/ipodpatcher/ipodio-win32.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/rbutil/ipodpatcher/ipodio-win32.c b/rbutil/ipodpatcher/ipodio-win32.c
index 342a06a358..1bf1ac7613 100644
--- a/rbutil/ipodpatcher/ipodio-win32.c
+++ b/rbutil/ipodpatcher/ipodio-win32.c
@@ -173,7 +173,7 @@ int ipod_seek(struct ipod_t* ipod, unsigned long pos)
return 0;
}
-int ipod_read(struct ipod_t* ipod, unsigned char* buf, int nbytes)
+ssize_t ipod_read(struct ipod_t* ipod, unsigned char* buf, int nbytes)
{
unsigned long count;
@@ -185,7 +185,7 @@ int ipod_read(struct ipod_t* ipod, unsigned char* buf, int nbytes)
return count;
}
-int ipod_write(struct ipod_t* ipod, unsigned char* buf, int nbytes)
+ssize_t ipod_write(struct ipod_t* ipod, unsigned char* buf, int nbytes)
{
unsigned long count;