mirror of
https://github.com/dashr9230/SA-MP.git
synced 2025-09-19 04:06:06 +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;
|
return 0;
|
||||||
} /* switch */
|
} /* switch */
|
||||||
UNUSED_PARAM(amx);
|
UNUSED_PARAM(amx);
|
||||||
return lseek(fileno((FILE*)params[1]),params[2],whence);
|
return fseek((FILE*)params[1], params[2], whence);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* bool: fexist(const name[]) */
|
/* bool: fexist(const name[]) */
|
||||||
|
Reference in New Issue
Block a user