diff options
Diffstat (limited to 'firmware/drivers/ramdisk.c')
-rw-r--r-- | firmware/drivers/ramdisk.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/drivers/ramdisk.c b/firmware/drivers/ramdisk.c index 9f73b6b5c3..cecc943352 100644 --- a/firmware/drivers/ramdisk.c +++ b/firmware/drivers/ramdisk.c | |||
@@ -32,7 +32,7 @@ static unsigned char ramdisk[SECTOR_SIZE * NUM_SECTORS]; | |||
32 | static long last_disk_activity = -1; | 32 | static long last_disk_activity = -1; |
33 | 33 | ||
34 | int ramdisk_read_sectors(IF_MD(int drive,) | 34 | int ramdisk_read_sectors(IF_MD(int drive,) |
35 | unsigned long start, | 35 | sector_t start, |
36 | int count, | 36 | int count, |
37 | void* buf) | 37 | void* buf) |
38 | { | 38 | { |
@@ -48,7 +48,7 @@ int ramdisk_read_sectors(IF_MD(int drive,) | |||
48 | } | 48 | } |
49 | 49 | ||
50 | int ramdisk_write_sectors(IF_MD(int drive,) | 50 | int ramdisk_write_sectors(IF_MD(int drive,) |
51 | unsigned long start, | 51 | sector_t start, |
52 | int count, | 52 | int count, |
53 | const void* buf) | 53 | const void* buf) |
54 | { | 54 | { |
@@ -134,7 +134,7 @@ int ramdisk_num_drives(int first_drive) | |||
134 | { | 134 | { |
135 | /* We don't care which logical drive number(s) we have been assigned */ | 135 | /* We don't care which logical drive number(s) we have been assigned */ |
136 | (void)first_drive; | 136 | (void)first_drive; |
137 | 137 | ||
138 | return 1; | 138 | return 1; |
139 | } | 139 | } |
140 | #endif | 140 | #endif |