summaryrefslogtreecommitdiff
path: root/kern/host.c
diff options
context:
space:
mode:
Diffstat (limited to 'kern/host.c')
-rw-r--r--kern/host.c2
1 files changed, 1 insertions, 1 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;
}