mirror of
https://github.com/eried/portapack-mayhem.git
synced 2024-12-23 14:29:23 -05:00
FatFs: My patch to fix wrong argument type warning.
This commit is contained in:
parent
e9d97dfd0f
commit
69173f5292
@ -3992,7 +3992,7 @@ FRESULT f_lseek (
|
||||
#if !_FS_TINY
|
||||
#if !_FS_READONLY
|
||||
if (fp->flag & FA_DIRTY) { /* Write-back dirty sector cache */
|
||||
if (disk_write(fs->drv, fp->buf, fp->sect, 1) != RES_OK) ABORT(fp, FR_DISK_ERR);
|
||||
if (disk_write(fs->drv, fp->buf, fp->sect, 1) != RES_OK) ABORT(fs, FR_DISK_ERR);
|
||||
fp->flag &= ~FA_DIRTY;
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user