r5238 build fix

git-svn-id: https://svn.eduke32.com/eduke32@5246 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2015-05-26 00:48:20 +00:00
parent a1b4d05c48
commit 8ad81e14ee

View file

@ -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);