public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ec10de
)
Bug fix in cast
author
ceriel
<none@none>
Mon, 6 Feb 1989 14:38:00 +0000
(14:38 +0000)
committer
ceriel
<none@none>
Mon, 6 Feb 1989 14:38:00 +0000
(14:38 +0000)
util/opt/alloc.c
patch
|
blob
|
history
diff --git
a/util/opt/alloc.c
b/util/opt/alloc.c
index
6c489f7
..
fe5a1dd
100644
(file)
--- 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)];