Fix a 64 bit warning. Possibly a crash.

git-svn-id: https://svn.eduke32.com/eduke32@791 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
qbix79 2008-06-10 19:27:39 +00:00
parent bd039f617e
commit e61ca5120a

View file

@ -3727,8 +3727,8 @@ void OnEvent(int iEventID, int iActor, int iPlayer, int lDist)
{ {
int og_i=g_i, og_p=g_p, okillit_flag=killit_flag; int og_i=g_i, og_p=g_p, okillit_flag=killit_flag;
int og_x=g_x, *og_t=g_t; int og_x=g_x;// *og_t=g_t;
intptr_t *oinsptr=insptr; intptr_t *oinsptr=insptr, *og_t=g_t;
spritetype *og_sp=g_sp; spritetype *og_sp=g_sp;
g_i = iActor; // current sprite ID g_i = iActor; // current sprite ID
@ -4077,7 +4077,8 @@ static void alterang(int a)
static void move(void) static void move(void)
{ {
int l, *moveptr; int l;
intptr_t *moveptr;
int a = g_sp->hitag, goalang, angdif; int a = g_sp->hitag, goalang, angdif;
int daxvel; int daxvel;
@ -5290,7 +5291,7 @@ static int parse(void)
if (*lpDefault) if (*lpDefault)
{ {
//AddLog("No Matching Case: Using Default"); //AddLog("No Matching Case: Using Default");
insptr=(int*)(*lpDefault + &script[0]); insptr=(intptr_t*)(*lpDefault + &script[0]);
while (1) if (parse()) break; while (1) if (parse()) break;
} }
else else