Changed types in core allocation routines, changed lint flags

This commit is contained in:
ceriel 1990-12-17 13:15:03 +00:00
parent 5e0ec19a91
commit 2fbdc5447a
2 changed files with 4 additions and 4 deletions

View file

@ -7,7 +7,7 @@ SHR=../share
LDFLAGS=-i LDFLAGS=-i
CPPFLAGS=-DVERBOSE -DNOTCOMPACT CPPFLAGS=-DVERBOSE -DNOTCOMPACT
CFLAGS=$(CPPFLAGS) -O CFLAGS=$(CPPFLAGS) -O
LINTFLAGS=-hbac LINTFLAGS=-hbu
CFILES=\ CFILES=\
cs.c cs_alloc.c cs_aux.c cs_avail.c cs_debug.c cs_elim.c \ cs.c cs_alloc.c cs_aux.c cs_avail.c cs_debug.c cs_elim.c \

View file

@ -23,7 +23,7 @@ occur_p newoccur(l1, l2, b)
oldoccur(ocp) oldoccur(ocp)
occur_p ocp; occur_p ocp;
{ {
oldcore((short *) ocp, sizeof(struct occur)); oldcore((char *) ocp, sizeof(struct occur));
} }
avail_p newavail() avail_p newavail()
@ -34,7 +34,7 @@ avail_p newavail()
oldavail(avp) oldavail(avp)
avail_p avp; avail_p avp;
{ {
oldcore((short *) avp, sizeof(struct avail)); oldcore((char *) avp, sizeof(struct avail));
} }
entity_p newentity() entity_p newentity()
@ -45,5 +45,5 @@ entity_p newentity()
oldentity(enp) oldentity(enp)
entity_p enp; entity_p enp;
{ {
oldcore((short *) enp, sizeof(struct entity)); oldcore((char *) enp, sizeof(struct entity));
} }