From 20e8924bba86fe2fbb61227f69919037f727dd60 Mon Sep 17 00:00:00 2001 From: Vitor Santos Costa Date: Thu, 18 Sep 2008 17:48:31 +0100 Subject: [PATCH] fix type warning in EnvPreg/error.c --- C/errors.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C/errors.c b/C/errors.c index 779e347e1..2869aedd2 100644 --- a/C/errors.c +++ b/C/errors.c @@ -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);