@@ -560,7 +560,7 @@ namespace physfs
int Filesystem::getLastModified(lua_State * L)
{
const char * filename = luaL_checkstring(L, 1);
- int64_t time = PHYSFS_getLastModTime(filename);
+ PHYSFS_sint64 time = PHYSFS_getLastModTime(filename);
if (time == -1)
lua_pushnil(L);