OS/2: Patched to compile.
authorRyan C. Gordon <icculus@icculus.org>
Fri, 15 Sep 2017 19:52:24 -0400
changeset 1602 3b7e318f978c
parent 1601 396f0f3d230f
child 1603 5f309b0956c0
OS/2: Patched to compile.
src/physfs_platform_os2.c
--- a/src/physfs_platform_os2.c	Fri Sep 15 19:49:40 2017 -0400
+++ b/src/physfs_platform_os2.c	Fri Sep 15 19:52:24 2017 -0400
@@ -130,7 +130,7 @@
     else
     {
         int rc;
-        const size_t cplen = unilen * 4; /* overallocate, just in case. */
+        size_t cplen = unilen * 4; /* overallocate, just in case. */
         cpptr = (char *) allocator.Malloc(cplen);
         GOTO_IF(!cpptr, PHYSFS_ERR_OUT_OF_MEMORY, failed);
         cpstr = cpptr;