mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-23 15:32:25 +00:00
parent
965d85d52d
commit
6b0b297351
@ -434,7 +434,7 @@ class Plugin : public Libc::Plugin
|
||||
switch(res) {
|
||||
case FR_OK:
|
||||
/* according to the FatFs documentation this can happen */
|
||||
if (f_tell(_get_ffat_file(fd)) != offset) {
|
||||
if ((off_t)f_tell(_get_ffat_file(fd)) != offset) {
|
||||
errno = EINVAL;
|
||||
return -1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user