Explorar el Código

Patched to compile (thanks, Christoph!).

Ryan C. Gordon hace 16 años
padre
commit
a4a7f88db0
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/platform_windows.c

+ 1 - 1
src/platform_windows.c

@@ -1494,7 +1494,7 @@ static int __PHYSFS_platformStatNewWay(const char *filename, int *exists,
     else
     {
         stat->filetype = PHYSFS_FILETYPE_REGULAR;
-        filesize = (((PHYSFS_uint64) winstat.nFileSizeHigh) << 32) | winstat.nFileSizeLow;
+        stat->filesize = (((PHYSFS_uint64) winstat.nFileSizeHigh) << 32) | winstat.nFileSizeLow;
     } /* else */
 
     stat->readonly = ((winstat.dwFileAttributes & FILE_ATTRIBUTE_READONLY) != 0);