Changed types in core allocation routines, changed lint flags
authorceriel <none@none>
Mon, 17 Dec 1990 13:15:03 +0000 (13:15 +0000)
committerceriel <none@none>
Mon, 17 Dec 1990 13:15:03 +0000 (13:15 +0000)
util/ego/cs/Makefile
util/ego/cs/cs_alloc.c

index fd2ea74..8991850 100644 (file)
@@ -7,7 +7,7 @@ SHR=../share
 LDFLAGS=-i
 CPPFLAGS=-DVERBOSE -DNOTCOMPACT
 CFLAGS=$(CPPFLAGS) -O
-LINTFLAGS=-hbac
+LINTFLAGS=-hbu
 
 CFILES=\
 cs.c cs_alloc.c cs_aux.c cs_avail.c cs_debug.c cs_elim.c \
index 73e623c..614b3f3 100644 (file)
@@ -23,7 +23,7 @@ occur_p newoccur(l1, l2, b)
 oldoccur(ocp)
        occur_p ocp;
 {
-       oldcore((short *) ocp, sizeof(struct occur));
+       oldcore((char *) ocp, sizeof(struct occur));
 }
 
 avail_p newavail()
@@ -34,7 +34,7 @@ avail_p newavail()
 oldavail(avp)
        avail_p avp;
 {
-       oldcore((short *) avp, sizeof(struct avail));
+       oldcore((char *) avp, sizeof(struct avail));
 }
 
 entity_p newentity()
@@ -45,5 +45,5 @@ entity_p newentity()
 oldentity(enp)
        entity_p enp;
 {
-       oldcore((short *) enp, sizeof(struct entity));
+       oldcore((char *) enp, sizeof(struct entity));
 }