From 75f79d1db3ee651db2a318adb0124fe057174397 Mon Sep 17 00:00:00 2001 From: pst Date: Wed, 23 Aug 1995 05:26:21 +0000 Subject: Clean up compilation warning. --- sys/i386/boot/kzipboot/malloc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys') diff --git a/sys/i386/boot/kzipboot/malloc.c b/sys/i386/boot/kzipboot/malloc.c index 7890097..7437eae 100644 --- a/sys/i386/boot/kzipboot/malloc.c +++ b/sys/i386/boot/kzipboot/malloc.c @@ -42,9 +42,9 @@ malloc(nbytes, junk1, junk2) /* junk? not used */ { unsigned char *p = storage; storage += nbytes; - if (storage >= 0xa0000) { + if (storage >= (unsigned char *) 0xa0000) { putstr("warning: malloc wrapped\n\r"); - p = (unsigned char *)0x50000; + p = (unsigned char *) 0x50000; storage = p + nbytes; } return p; -- cgit v1.1