From a203a029cb66676929c92845e05a6b95670e36f2 Mon Sep 17 00:00:00 2001 From: ceriel Date: Mon, 3 Aug 1987 09:16:20 +0000 Subject: [PATCH] some cosmetic changes --- modules/src/alloc/st_alloc.c | 4 ++-- modules/src/alloc/std_alloc.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/src/alloc/st_alloc.c b/modules/src/alloc/st_alloc.c index 56ea4d60e..17ba58cd6 100644 --- a/modules/src/alloc/st_alloc.c +++ b/modules/src/alloc/st_alloc.c @@ -25,12 +25,12 @@ st_alloc(phead, size, count) ((_PALLOC_) p)->_A_next = 0; while (--count) { p += size; - ((_PALLOC_) p)->_A_next = p - size; + ((_PALLOC_) p)->_A_next = (_PALLOC_) (p - size); } *phead = p; } else p = *phead; - *phead = ((_PALLOC_)p)->_A_next; + *phead = (char *) (((_PALLOC_)p)->_A_next); retval = p; if (size >= sizeof(long)) { q = (long *) p; diff --git a/modules/src/alloc/std_alloc.c b/modules/src/alloc/std_alloc.c index d32bd1af9..334581c83 100644 --- a/modules/src/alloc/std_alloc.c +++ b/modules/src/alloc/std_alloc.c @@ -25,12 +25,12 @@ std_alloc(phead, size, count, pcnt) ((_PALLOC_) p)->_A_next = 0; while (--count) { p += size; - ((_PALLOC_) p)->_A_next = p - size; + ((_PALLOC_) p)->_A_next = (_PALLOC_) (p - size); } *phead = p; } else p = *phead; - *phead = ((_PALLOC_) p)->_A_next; + *phead = (char *) (((_PALLOC_) p)->_A_next); p += size; while (size--) *--p = 0; return p;