mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-23 04:12:02 +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:
parent
cb4089e49c
commit
bbdf2868c9
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue