1
0
Fork 0
forked from len0rd/rockbox

Removed nasty lvalue cast

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4934 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Linus Nielsen Feltzing 2004-07-24 17:20:21 +00:00
parent 9da3385a50
commit 0185ee7e4c

View file

@ -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;
}