diff options
Diffstat (limited to 'firmware/test/fat/ata-sim.c')
-rw-r--r-- | firmware/test/fat/ata-sim.c | 4 |
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 @@ | |||
8 | 8 | ||
9 | static FILE* file; | 9 | static FILE* file; |
10 | 10 | ||
11 | int ata_read_sectors(unsigned long start, unsigned char count, void* buf) | 11 | int ata_read_sectors(unsigned long start, int count, void* buf) |
12 | { | 12 | { |
13 | if ( count > 1 ) | 13 | if ( count > 1 ) |
14 | DEBUGF("[Reading %d blocks: 0x%lx to 0x%lx]\n", | 14 | 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) | |||
28 | return 0; | 28 | return 0; |
29 | } | 29 | } |
30 | 30 | ||
31 | int ata_write_sectors(unsigned long start, unsigned char count, void* buf) | 31 | int ata_write_sectors(unsigned long start, int count, void* buf) |
32 | { | 32 | { |
33 | if ( count > 1 ) | 33 | if ( count > 1 ) |
34 | DEBUGF("[Writing %d blocks: 0x%lx to 0x%lx]\n", | 34 | DEBUGF("[Writing %d blocks: 0x%lx to 0x%lx]\n", |