Navigation Menu

Skip to content

Commit

Permalink
Fixed compiler warning.
Browse files Browse the repository at this point in the history
(transplanted from b76a47b006f65ad81b54256080d485919abdce29)
  • Loading branch information
icculus committed Mar 18, 2019
1 parent 81bb11d commit 2dc2dd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/physfs_platform_windows.c
Expand Up @@ -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... */
Expand Down

0 comments on commit 2dc2dd1

Please sign in to comment.