mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 03:00:46 +00:00
r5238 build fix
git-svn-id: https://svn.eduke32.com/eduke32@5246 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
a1b4d05c48
commit
8ad81e14ee
1 changed files with 1 additions and 1 deletions
|
@ -4648,7 +4648,7 @@ finish_qsprintf:
|
||||||
{
|
{
|
||||||
// OSD_Printf(OSDTEXT_GREEN "CON_RESIZEARRAY: resizing array %s from %d to %d\n",
|
// OSD_Printf(OSDTEXT_GREEN "CON_RESIZEARRAY: resizing array %s from %d to %d\n",
|
||||||
// aGameArrays[j].szLabel, aGameArrays[j].size, newSize);
|
// aGameArrays[j].szLabel, aGameArrays[j].size, newSize);
|
||||||
intptr_t *const tmpar = Xmalloc(GAR_ELTSZ * oldSize);
|
intptr_t *const tmpar = (intptr_t *)Xmalloc(GAR_ELTSZ * oldSize);
|
||||||
memcpy(tmpar, aGameArrays[tw].plValues, GAR_ELTSZ * oldSize);
|
memcpy(tmpar, aGameArrays[tw].plValues, GAR_ELTSZ * oldSize);
|
||||||
|
|
||||||
Baligned_free(aGameArrays[tw].plValues);
|
Baligned_free(aGameArrays[tw].plValues);
|
||||||
|
|
Loading…
Reference in a new issue