1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-11-26 05:42:17 +00:00

fusee-secondary/fs_dev: Correct uninitialized cast within fsdev_seek()

Previously this was casting the same unassigned variable that was being
assigned to.
This commit is contained in:
Lioncash 2018-07-29 22:51:38 -04:00 committed by SciresM
parent cb4089e49c
commit bbdf2868c9

View file

@ -442,7 +442,7 @@ static ssize_t fsdev_read(struct _reent *r, void *fd, char *ptr, size_t len) {
} }
static off_t fsdev_seek(struct _reent *r, void *fd, off_t pos, int whence) { static off_t fsdev_seek(struct _reent *r, void *fd, off_t pos, int whence) {
FIL *f = (FIL *)f; FIL *f = (FIL *)fd;
FSIZE_t off; FSIZE_t off;
int ret; int ret;