OS/2: Patched to compile.
This commit is contained in:
parent
6ac5ac5544
commit
7179165c38
|
@ -130,7 +130,7 @@ static char *cvtUtf8ToCodepage(const char *utf8str)
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
int rc;
|
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);
|
cpptr = (char *) allocator.Malloc(cplen);
|
||||||
GOTO_IF(!cpptr, PHYSFS_ERR_OUT_OF_MEMORY, failed);
|
GOTO_IF(!cpptr, PHYSFS_ERR_OUT_OF_MEMORY, failed);
|
||||||
cpstr = cpptr;
|
cpstr = cpptr;
|
||||||
|
|
Loading…
Reference in New Issue