Fixed compiler warning. stable-3.0
authorRyan C. Gordon <icculus@icculus.org>
Mon, 18 Mar 2019 14:28:46 -0400
branchstable-3.0
changeset 1665 6489f2d963ec
parent 1662 c8f3bbd689d6
child 1666 fcdfd7e3d4d7
Fixed compiler warning. (transplanted from b76a47b006f65ad81b54256080d485919abdce29)
src/physfs_platform_windows.c
--- a/src/physfs_platform_windows.c	Mon Mar 18 13:36:16 2019 -0400
+++ b/src/physfs_platform_windows.c	Mon Mar 18 14:28:46 2019 -0400
@@ -580,7 +580,7 @@
 
         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... */