From 395b2b02ddfad749bfe556d838d7b46f624ab79b Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Fri, 15 Sep 2017 19:52:24 -0400 Subject: [PATCH] OS/2: Patched to compile. --- src/physfs_platform_os2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/physfs_platform_os2.c b/src/physfs_platform_os2.c index 5b582823..c6c472d8 100644 --- a/src/physfs_platform_os2.c +++ b/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;