Fixed compiler warning.
authorRyan C. Gordon <icculus@icculus.org>
Mon, 18 Mar 2019 14:28:46 -0400
changeset 1664 b76a47b006f6
parent 1663 7564353d225f
child 1668 b2abaf7d4e4b
Fixed compiler warning.
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... */