diff --git a/polymer/eduke32/source/actors.c b/polymer/eduke32/source/actors.c index 17ba9d9b1..d961b7b97 100644 --- a/polymer/eduke32/source/actors.c +++ b/polymer/eduke32/source/actors.c @@ -5579,7 +5579,7 @@ static void moveeffectors(void) //STATNUM 3 if (s->owner == -1) { - Bsprintf(tempbuf,"Could not find any locators for SE# 6 and 14 with a hitag of %d.\n",t[3]); + Bsprintf(tempbuf,"Could not find any locators for SE# 6 and 14 with a hitag of %td.\n",t[3]); gameexit(tempbuf); } diff --git a/polymer/eduke32/source/premap.c b/polymer/eduke32/source/premap.c index 6e33f7c8e..2e3c167c1 100644 --- a/polymer/eduke32/source/premap.c +++ b/polymer/eduke32/source/premap.c @@ -293,7 +293,7 @@ static int getsound(unsigned int num) (l < 12288)) { g_sounds[num].lock = 199; - allocache((int *)&g_sounds[num].ptr,l,(char *)&g_sounds[num].lock); + allocache((intptr_t *)&g_sounds[num].ptr,l,(char *)&g_sounds[num].lock); if (g_sounds[num].ptr != NULL) kread(fp, g_sounds[num].ptr , l); }