Fixed compiler warning.
(transplanted from b76a47b006f65ad81b54256080d485919abdce29)
This commit is contained in:
parent
81bb11ddbc
commit
2dc2dd1b04
|
@ -580,7 +580,7 @@ char *__PHYSFS_platformCalcUserDir(void)
|
|||
|
||||
if (psize == 0) /* probably on Windows XP, try a different way. */
|
||||
{
|
||||
char x = 0;
|
||||
WCHAR x = 0;
|
||||
rc = pGetDir(accessToken, &x, &psize);
|
||||
GOTO_IF(rc, PHYSFS_ERR_OS_ERROR, done); /* should have failed! */
|
||||
GOTO_IF(!psize, PHYSFS_ERR_OS_ERROR, done); /* Uhoh... */
|
||||
|
|
Loading…
Reference in New Issue