From 2fbdc5447a04b13b77d7112a890d823509b2ab63 Mon Sep 17 00:00:00 2001 From: ceriel Date: Mon, 17 Dec 1990 13:15:03 +0000 Subject: [PATCH] Changed types in core allocation routines, changed lint flags --- util/ego/cs/Makefile | 2 +- util/ego/cs/cs_alloc.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/util/ego/cs/Makefile b/util/ego/cs/Makefile index fd2ea746c..89918506a 100644 --- a/util/ego/cs/Makefile +++ b/util/ego/cs/Makefile @@ -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 \ diff --git a/util/ego/cs/cs_alloc.c b/util/ego/cs/cs_alloc.c index 73e623c65..614b3f369 100644 --- a/util/ego/cs/cs_alloc.c +++ b/util/ego/cs/cs_alloc.c @@ -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)); } -- 2.34.1