Patched to compile (thanks, Christoph!).
authorRyan C. Gordon <icculus@icculus.org>
Thu, 18 Feb 2010 09:34:08 -0500
changeset 1055 8974a4a352fd
parent 1054 57f4af811ffb
child 1056 5db207d5cb58
Patched to compile (thanks, Christoph!).
src/platform_windows.c
--- a/src/platform_windows.c	Mon Feb 15 14:02:36 2010 -0500
+++ b/src/platform_windows.c	Thu Feb 18 09:34:08 2010 -0500
@@ -1494,7 +1494,7 @@
     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);