diff -r 4feced261c68 -r de822cd3df3a misc/libphysfs/platform_windows.c --- a/misc/libphysfs/platform_windows.c Tue Jan 21 22:38:13 2014 +0100 +++ b/misc/libphysfs/platform_windows.c Tue Jan 21 22:43:06 2014 +0100 @@ -171,7 +171,7 @@ stem(SEM_FAILCRITICALERRORS, &oldErrorMode); else oldErrorMode = SetErrorMode(SEM_FAILCRITICALERRORS); - + /* Do detection. This may block if a disc is spinning up. */ for (i = 'A'; i <= 'Z'; i++) { @@ -443,7 +443,7 @@ * psize. Also note that the second parameter can't be * NULL or the function fails. */ - rc = pGetDir(accessToken, &dummy, &psize); + rc = pGetDir(accessToken, &dummy, &psize); assert(!rc); /* !!! FIXME: handle this gracefully. */ (void) rc; @@ -481,7 +481,7 @@ static int isSymlinkAttrs(const DWORD attr, const DWORD tag) { - return ( (attr & FILE_ATTRIBUTE_REPARSE_POINT) && + return ( (attr & FILE_ATTRIBUTE_REPARSE_POINT) && (tag == PHYSFS_IO_REPARSE_TAG_SYMLINK) ); } /* isSymlinkAttrs */ @@ -720,7 +720,7 @@ { BAIL_MACRO(errcodeFromWinApi(), 0); } /* if */ - + return 1; /* No error occured */ } /* __PHYSFS_platformSeek */