From 571e401605d039897061661babb55ce41527d7b9 Mon Sep 17 00:00:00 2001 From: Bart van Strien Date: Sun, 9 Jan 2011 01:17:05 +0100 Subject: [PATCH] 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! --- src/modules/filesystem/physfs/Filesystem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/filesystem/physfs/Filesystem.cpp b/src/modules/filesystem/physfs/Filesystem.cpp index 915782e0f..21a42f349 100644 --- a/src/modules/filesystem/physfs/Filesystem.cpp +++ b/src/modules/filesystem/physfs/Filesystem.cpp @@ -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);