diff --git a/util/opt/alloc.c b/util/opt/alloc.c index 6c489f76a..fe5a1ddb2 100644 --- a/util/opt/alloc.c +++ b/util/opt/alloc.c @@ -371,7 +371,7 @@ oldcore(p,size) short *p; int size; { assert(size<2*MAXSHORT); #ifdef CORECHECK for (cp=freelist[size/sizeof(short)]; cp != (short *) 0; - cp = (short *) *cp) + cp = *(short **) cp) assert(cp != p); #endif *(short **) p = freelist[size/sizeof(short)];