bugfix: forgot to insert parentheses
This commit is contained in:
parent
f4de6ee57e
commit
0996763e3b
2
Makefile
2
Makefile
|
@ -34,7 +34,7 @@ include $(sort $(wildcard contrib/*/nitro.mk))
|
||||||
bootstrap: bin/picrin-bootstrap
|
bootstrap: bin/picrin-bootstrap
|
||||||
|
|
||||||
bin/picrin-bootstrap:
|
bin/picrin-bootstrap:
|
||||||
test -f bin/picrin-bootstrap || { $(MAKE) lib/mini-picrin && mv lib/mini-picrin bin/picrin-bootstrap; }
|
test -f bin/picrin-bootstrap || { $(MAKE) -C lib lib/mini-picrin && mv lib/mini-picrin bin/picrin-bootstrap; }
|
||||||
|
|
||||||
lib/mini-picrin: FORCE
|
lib/mini-picrin: FORCE
|
||||||
$(MAKE) -C lib mini-picrin
|
$(MAKE) -C lib mini-picrin
|
||||||
|
|
2
lib/gc.c
2
lib/gc.c
|
@ -55,7 +55,7 @@ struct heap {
|
||||||
struct weak *weaks; /* weak map chain */
|
struct weak *weaks; /* weak map chain */
|
||||||
};
|
};
|
||||||
|
|
||||||
#define unitsof(type) (type2size(type) + sizeof(union header) - 1 / sizeof(union header))
|
#define unitsof(type) ((type2size(type) + sizeof(union header) - 1) / sizeof(union header))
|
||||||
|
|
||||||
struct heap *
|
struct heap *
|
||||||
pic_heap_open(pic_state *pic)
|
pic_heap_open(pic_state *pic)
|
||||||
|
|
Loading…
Reference in New Issue