From bd039f617e17d32672a1cf9287925a4b44db503f Mon Sep 17 00:00:00 2001 From: qbix79 Date: Tue, 10 Jun 2008 19:23:55 +0000 Subject: [PATCH] argh forgot one git-svn-id: https://svn.eduke32.com/eduke32@790 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/build/src/polymer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/polymer/build/src/polymer.c b/polymer/build/src/polymer.c index 0df7ac2d1..f0f9c07aa 100644 --- a/polymer/build/src/polymer.c +++ b/polymer/build/src/polymer.c @@ -1382,7 +1382,7 @@ void PR_CALLBACK polymer_tessvertex(void* vertex, void* sector) s->floor.indices = realloc(s->floor.indices, s->indicescount * sizeof(GLushort)); s->ceil.indices = realloc(s->ceil.indices, s->indicescount * sizeof(GLushort)); } - s->ceil.indices[s->curindice] = (int)vertex; + s->ceil.indices[s->curindice] = (intptr_t)vertex; s->curindice++; } @@ -1391,7 +1391,7 @@ static int polymer_buildfloor(short sectnum) // This function tesselates the floor/ceiling of a sector and stores the triangles in a display list. _prsector* s; sectortype *sec; - int i; + intptr_t i; if (pr_verbosity >= 2) OSD_Printf("PR : Tesselating floor of sector %i...\n", sectnum);