diff options
Diffstat (limited to 'firmware/drivers/fat.c')
-rw-r--r-- | firmware/drivers/fat.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/drivers/fat.c b/firmware/drivers/fat.c index 9056870bc5..465adec479 100644 --- a/firmware/drivers/fat.c +++ b/firmware/drivers/fat.c | |||
@@ -1940,7 +1940,7 @@ int fat_rename(struct fat_file* file, | |||
1940 | return 0; | 1940 | return 0; |
1941 | } | 1941 | } |
1942 | 1942 | ||
1943 | static int next_write_cluster(struct fat_file* file, | 1943 | static long next_write_cluster(struct fat_file* file, |
1944 | long oldcluster, | 1944 | long oldcluster, |
1945 | long* newsector) | 1945 | long* newsector) |
1946 | { | 1946 | { |
@@ -2032,7 +2032,7 @@ static int transfer(IF_MV2(struct bpb* fat_bpb,) | |||
2032 | } | 2032 | } |
2033 | 2033 | ||
2034 | 2034 | ||
2035 | int fat_readwrite( struct fat_file *file, long sectorcount, | 2035 | long fat_readwrite( struct fat_file *file, long sectorcount, |
2036 | void* buf, bool write ) | 2036 | void* buf, bool write ) |
2037 | { | 2037 | { |
2038 | #ifdef HAVE_MULTIVOLUME | 2038 | #ifdef HAVE_MULTIVOLUME |
@@ -2406,7 +2406,7 @@ int fat_getnext(struct fat_dir *dir, struct fat_direntry *entry) | |||
2406 | return 0; | 2406 | return 0; |
2407 | } | 2407 | } |
2408 | 2408 | ||
2409 | int fat_get_cluster_size(IF_MV_NONVOID(int volume)) | 2409 | unsigned int fat_get_cluster_size(IF_MV_NONVOID(int volume)) |
2410 | { | 2410 | { |
2411 | #ifndef HAVE_MULTIVOLUME | 2411 | #ifndef HAVE_MULTIVOLUME |
2412 | const int volume = 0; | 2412 | const int volume = 0; |