fix type warning in EnvPreg/error.c

This commit is contained in:
Vitor Santos Costa 2008-09-18 17:48:31 +01:00
parent 7f51339a97
commit 20e8924bba

View File

@ -97,7 +97,7 @@ DumpActiveGoals (void)
cp = ep[E_CP];
if (!ONHEAP (cp) || (Unsigned (cp) & (sizeof(CELL)-1)))
break;
pe = EnvPreg(cp);
pe = EnvPreg((yamop *)cp);
if (!ONHEAP (pe) || Unsigned (pe) & (sizeof(CELL)-1))
break;
LOCK(pe->PELock);