mirror of
https://github.com/love2d/love.git
synced 2026-08-21 13:09:56 +02:00
Changed int64_t to PHYSFS_sint64.
Because apparently some strange compilers can't do int64_t... Oh, and I forgot to include the header, but that is totally unrelated, I promise!
This commit is contained in:
@@ -560,7 +560,7 @@ namespace physfs
|
|||||||
int Filesystem::getLastModified(lua_State * L)
|
int Filesystem::getLastModified(lua_State * L)
|
||||||
{
|
{
|
||||||
const char * filename = luaL_checkstring(L, 1);
|
const char * filename = luaL_checkstring(L, 1);
|
||||||
int64_t time = PHYSFS_getLastModTime(filename);
|
PHYSFS_sint64 time = PHYSFS_getLastModTime(filename);
|
||||||
if (time == -1)
|
if (time == -1)
|
||||||
{
|
{
|
||||||
lua_pushnil(L);
|
lua_pushnil(L);
|
||||||
|
|||||||
Reference in New Issue
Block a user