summaryrefslogtreecommitdiff
path: root/kern
diff options
context:
space:
mode:
Diffstat (limited to 'kern')
-rw-r--r--kern/host.c2
-rw-r--r--kern/xpr.c2
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;
}
diff --git a/kern/xpr.c b/kern/xpr.c
index 92b253c..a62472d 100644
--- a/kern/xpr.c
+++ b/kern/xpr.c
@@ -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;