Skip to content
Permalink
Browse files
Patched to compile (thanks, Christoph!).
  • Loading branch information
icculus committed Feb 18, 2010
1 parent f1cd4d8 commit a4a7f88db05d3e41d6880a42fb27f3b821a57dcf
Showing with 1 addition and 1 deletion.
  1. +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);

0 comments on commit a4a7f88

Please sign in to comment.