Procházet zdrojové kódy

OS/2: Patched to compile.

Ryan C. Gordon před 8 roky
rodič
revize
395b2b02dd
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      src/physfs_platform_os2.c

+ 1 - 1
src/physfs_platform_os2.c

@@ -130,7 +130,7 @@ static char *cvtUtf8ToCodepage(const char *utf8str)
     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;