diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2004-07-24 17:20:21 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2004-07-24 17:20:21 +0000 |
commit | 0185ee7e4c67fe4e9de8c609dfbcb4d5ae12353b (patch) | |
tree | e472857f46cfc75d3e0c24dba273731d19e0e98b /firmware | |
parent | 9da3385a50dc0f359e6f46cade1a30678fce0a50 (diff) | |
download | rockbox-0185ee7e4c67fe4e9de8c609dfbcb4d5ae12353b.tar.gz rockbox-0185ee7e4c67fe4e9de8c609dfbcb4d5ae12353b.zip |
Removed nasty lvalue cast
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4934 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/drivers/fat.c | 2 |
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, if (rc < 0) return rc * 10 - 1; - ((char*)buf) += count * SECTOR_SIZE; + buf = (char *)buf + count * SECTOR_SIZE; first = sector; } |