summaryrefslogtreecommitdiff
path: root/firmware/test/fat/ata-sim.c
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2002-12-03 14:00:33 +0000
committerBjörn Stenberg <bjorn@haxx.se>2002-12-03 14:00:33 +0000
commitf6cb6163b9a9ad60e358755427d8c443804fcb3c (patch)
tree8c1688e2c7ab91167542c80f3eb7d7ddf421cb8d /firmware/test/fat/ata-sim.c
parentc032e65034c23d3c48bc60bb76e120898b26efd3 (diff)
Fat test code, for the archives.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2911 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/test/fat/ata-sim.c')
-rw-r--r--firmware/test/fat/ata-sim.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/test/fat/ata-sim.c b/firmware/test/fat/ata-sim.c
index 63abc58084..aac7fba0f4 100644
--- a/firmware/test/fat/ata-sim.c
+++ b/firmware/test/fat/ata-sim.c
@@ -8,7 +8,7 @@
static FILE* file;
-int ata_read_sectors(unsigned long start, unsigned char count, void* buf)
+int ata_read_sectors(unsigned long start, int count, void* buf)
{
if ( count > 1 )
DEBUGF("[Reading %d blocks: 0x%lx to 0x%lx]\n",
@@ -28,7 +28,7 @@ int ata_read_sectors(unsigned long start, unsigned char count, void* buf)
return 0;
}
-int ata_write_sectors(unsigned long start, unsigned char count, void* buf)
+int ata_write_sectors(unsigned long start, int count, void* buf)
{
if ( count > 1 )
DEBUGF("[Writing %d blocks: 0x%lx to 0x%lx]\n",