Index: uspace/drv/bus/usb/ehci/endpoint_list.c
===================================================================
--- uspace/drv/bus/usb/ehci/endpoint_list.c	(revision ce259037bcbdbac21354296993bfc0226d852e24)
+++ uspace/drv/bus/usb/ehci/endpoint_list.c	(revision 34c9cfc553adde7b9a5ac6552f5884cbc95e78a6)
@@ -62,5 +62,5 @@
 
 	list_initialize(&instance->endpoint_list);
-	usb_log_debug2("Transfer list %s setup with ED: %p(%x).\n",
+	usb_log_debug2("Transfer list %s setup with ED: %p(%"PRIxn").\n",
 	    name, instance->list_head, addr_to_phys(instance->list_head));
 
@@ -124,5 +124,5 @@
 		ep, instance->name, first, first->qh);
 	if (last_qh == instance->list_head) {
-		usb_log_debug2("%s head ED(%p-%x): %x:%x.\n",
+		usb_log_debug2("%s head ED(%p-%"PRIxn"): %x:%x.\n",
 		    instance->name, last_qh, addr_to_phys(instance->list_head),
 		    last_qh->status, last_qh->horizontal);
Index: uspace/drv/bus/usb/usbhub/usbhub.c
===================================================================
--- uspace/drv/bus/usb/usbhub/usbhub.c	(revision ce259037bcbdbac21354296993bfc0226d852e24)
+++ uspace/drv/bus/usb/usbhub/usbhub.c	(revision 34c9cfc553adde7b9a5ac6552f5884cbc95e78a6)
@@ -314,11 +314,11 @@
 	    hub_dev->per_port_power ? "per port" : "ganged");
 
-	for (size_t port = 0; port < hub_dev->port_count; ++port) {
-		usb_log_debug("(%p): Powering port %zu.", hub_dev, port);
+	for (unsigned port = 0; port < hub_dev->port_count; ++port) {
+		usb_log_debug("(%p): Powering port %u.", hub_dev, port);
 		const int ret = usb_hub_port_set_feature(
 		    &hub_dev->ports[port], USB_HUB_FEATURE_PORT_POWER);
 
 		if (ret != EOK) {
-			usb_log_error("(%p-%zu): Cannot power on port: %s.\n",
+			usb_log_error("(%p-%u): Cannot power on port: %s.\n",
 			    hub_dev, hub_dev->ports[port].port_number,
 			    str_error(ret));
