summaryrefslogtreecommitdiff
path: root/firmware/drivers/fat.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/drivers/fat.c')
-rw-r--r--firmware/drivers/fat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/drivers/fat.c b/firmware/drivers/fat.c
index bb10c5f223..85a9deaa8c 100644
--- a/firmware/drivers/fat.c
+++ b/firmware/drivers/fat.c
@@ -1725,7 +1725,7 @@ int fat_readwrite( struct fat_file *file, int sectorcount,
1725 if (rc < 0) 1725 if (rc < 0)
1726 return rc * 10 - 1; 1726 return rc * 10 - 1;
1727 1727
1728 ((char*)buf) += count * SECTOR_SIZE; 1728 buf = (char *)buf + count * SECTOR_SIZE;
1729 first = sector; 1729 first = sector;
1730 } 1730 }
1731 1731