mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-22 14:37:29 +08:00
[server/bot] Change lseek to fseek in n_fseek function
This commit is contained in:
parent
b25e027cf7
commit
e55ff78e60
@ -630,7 +630,7 @@ static cell AMX_NATIVE_CALL n_fseek(AMX *amx, cell *params)
|
||||
return 0;
|
||||
} /* switch */
|
||||
UNUSED_PARAM(amx);
|
||||
return lseek(fileno((FILE*)params[1]),params[2],whence);
|
||||
return fseek((FILE*)params[1], params[2], whence);
|
||||
}
|
||||
|
||||
/* bool: fexist(const name[]) */
|
||||
|
Loading…
Reference in New Issue
Block a user