Patched to compile (thanks, Christoph!).

This commit is contained in:
Ryan C. Gordon 2010-02-18 09:34:08 -05:00
parent f1cd4d8f0d
commit a4a7f88db0
1 changed files with 1 additions and 1 deletions

View File

@ -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);