mirror of
https://github.com/dashr9230/SA-MP.git
synced 2025-07-18 17:38:12 +08:00
[server/bot] Change lseek to fseek in n_fseek function
This commit is contained in:
@ -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[]) */
|
||||
|
Reference in New Issue
Block a user