fix some pedantic xhyve build issues with newer toolchain

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
Justin Cormack 2016-03-29 18:46:20 +01:00
parent f98fb92480
commit 38aef85f6a
2 changed files with 2 additions and 2 deletions

View File

@ -212,7 +212,7 @@ pci_vt9p_notify(void *vsc, struct vqueue_info *vq)
}
if (wiov == NULL && (flags[i] & VRING_DESC_F_WRITE)) {
wiov = &iov[i];
DPRINTF(("vt9p wiov is %p\r\n", wiov));
DPRINTF(("vt9p wiov is %p\r\n", (void *)wiov));
}
}
/* do this properly */

View File

@ -291,7 +291,7 @@ vhpet_handler(void *a)
callout_deactivate(callout);
if (!vhpet_counter_enabled(vhpet))
xhyve_abort("vhpet(%p) callout with counter disabled\n", vhpet);
xhyve_abort("vhpet(%p) callout with counter disabled\n", (void *)vhpet);
counter = vhpet_counter(vhpet, &now);
vhpet_start_timer(vhpet, n, counter, now);