Explorar o código

Fixed compiler warning.
(transplanted from b76a47b006f65ad81b54256080d485919abdce29)

Ryan C. Gordon %!s(int64=7) %!d(string=hai) anos
pai
achega
2dc2dd1b04
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/physfs_platform_windows.c

+ 1 - 1
src/physfs_platform_windows.c

@@ -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... */