mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
task_database_cue_get_token - correct to 'if (rv < 0)' instead
This commit is contained in:
parent
c841e191f7
commit
8017410098
@ -141,7 +141,7 @@ static int64_t task_database_cue_get_token(intfstream_t *fd, char *token, uint64
|
||||
int64_t rv = (int64_t)intfstream_read(fd, c, 1);
|
||||
if (rv == 0)
|
||||
return 0;
|
||||
else if (rv < 1)
|
||||
else if (rv < 0)
|
||||
return -1;
|
||||
|
||||
switch (*c)
|
||||
|
Loading…
x
Reference in New Issue
Block a user