Fix warnings

git-svn-id: https://svn.eduke32.com/eduke32@793 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
qbix79 2008-06-10 19:29:57 +00:00
parent b23047f722
commit 567288d392
2 changed files with 2 additions and 2 deletions

View file

@ -5579,7 +5579,7 @@ static void moveeffectors(void) //STATNUM 3
if (s->owner == -1) 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); gameexit(tempbuf);
} }

View file

@ -293,7 +293,7 @@ static int getsound(unsigned int num)
(l < 12288)) (l < 12288))
{ {
g_sounds[num].lock = 199; 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) if (g_sounds[num].ptr != NULL)
kread(fp, g_sounds[num].ptr , l); kread(fp, g_sounds[num].ptr , l);
} }