How to change io::f_seek to use 64 bit numbers
[
Date Prev][
Date Next][
Thread Prev][Thread Next]
[
Date Index]
[
Thread Index]
- Subject: How to change io::f_seek to use 64 bit numbers
- From: "Todor Totev" <umbra.tenebris@...>
- Date: 2008年9月30日 20:00:15 +0300
Hi all,
I'd like to use (platform specific) fseek with 64-bit file offsets inside
io lib f_seek function.
But it gets the lua number with luaL_optlong which truncates it to long.
What do you suggest me to fix it?
Kind regards,
Todor