From 94ccdb076d906f1ff48b29df4a56d54fdee0bcf2 Mon Sep 17 00:00:00 2001 From: hendricks266 Date: Fri, 13 Jun 2014 09:01:58 +0000 Subject: [PATCH] Fix a recently-introduced C++ error. git-svn-id: https://svn.eduke32.com/eduke32@4501 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/build/src/polymost.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/polymer/eduke32/build/src/polymost.c b/polymer/eduke32/build/src/polymost.c index 322e5cc14..25073bab5 100644 --- a/polymer/eduke32/build/src/polymost.c +++ b/polymer/eduke32/build/src/polymost.c @@ -1010,7 +1010,7 @@ void gloadtile_art(int32_t dapic, int32_t dapal, int32_t dashade, int32_t dameth Bassert(ydif > 0 && ydif < ysiz); - paddedpic = Xrealloc(pic, xsiz*nextpoty*sizeof(coltype)); + paddedpic = (coltype*) Xrealloc(pic, xsiz*nextpoty*sizeof(coltype)); pic = paddedpic; Bmemcpy(&pic[xsiz*ysiz], pic, xsiz*ydif*sizeof(coltype));