diff options
author | pst <pst@FreeBSD.org> | 1995-08-23 05:26:21 +0000 |
---|---|---|
committer | pst <pst@FreeBSD.org> | 1995-08-23 05:26:21 +0000 |
commit | 75f79d1db3ee651db2a318adb0124fe057174397 (patch) | |
tree | a75f26e23c82847019144ec1126d36af136d5626 /sys | |
parent | 9b679aa62fc3155bb9c9458503e20b0c7de0d116 (diff) | |
download | FreeBSD-src-75f79d1db3ee651db2a318adb0124fe057174397.zip FreeBSD-src-75f79d1db3ee651db2a318adb0124fe057174397.tar.gz |
Clean up compilation warning.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/i386/boot/kzipboot/malloc.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |