misc/libphysfs/platform_windows.c
changeset 13875 a966b1914792
parent 12218 bb5522e88ab2
--- a/misc/libphysfs/platform_windows.c	Sat Oct 06 00:23:41 2018 +0300
+++ b/misc/libphysfs/platform_windows.c	Sat Oct 06 01:24:27 2018 +0300
@@ -435,7 +435,7 @@
         GOTO_MACRO(errcodeFromWinApi(), done);
     else
     {
-        DWORD psize = 0;
+        DWORD psize = 1;
         WCHAR dummy = 0;
         LPWSTR wstr = NULL;
         BOOL rc = 0;