diff options
Diffstat (limited to 'kern')
-rw-r--r-- | kern/host.c | 2 | ||||
-rw-r--r-- | kern/xpr.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/kern/host.c b/kern/host.c index 773697c..698acea 100644 --- a/kern/host.c +++ b/kern/host.c @@ -302,7 +302,7 @@ host_processor_sets( return KERN_RESOURCE_SHORTAGE; } - memcpy((char *) newaddr, (char *) addr, size_needed); + memcpy((void *) newaddr, (void *) addr, size_needed); kfree(addr, size); psets = (processor_set_t *) newaddr; } @@ -115,7 +115,7 @@ void xprbootstrap(void) * the previous buffer contents. */ - memset((char *) addr, 0, size); + memset((void *) addr, 0, size); } xprbase = (struct xprbuf *) addr; |