Index: uspace/drv/bus/usb/xhci/rh.c
===================================================================
--- uspace/drv/bus/usb/xhci/rh.c	(revision d967aa1bf40c2ba202eba03ea5b7f74b788ae695)
+++ uspace/drv/bus/usb/xhci/rh.c	(revision e4001f76b41d4f1e5698637752b7dab19e178bf5)
@@ -98,5 +98,6 @@
 	    hc->speeds[port_speed_id].tx_bps);
 	XHCI_EP_MAX_BURST_SIZE_SET(ictx->endpoint_ctx[0], 0);
-	XHCI_EP_TR_DPTR_SET(ictx->endpoint_ctx[0], addr_to_phys(ep_ring->dequeue));
+	XHCI_EP_TR_DPTR_SET(ictx->endpoint_ctx[0],
+		addr_to_phys((void *)ep_ring->dequeue));
 	XHCI_EP_DCS_SET(ictx->endpoint_ctx[0], 1);
 	XHCI_EP_INTERVAL_SET(ictx->endpoint_ctx[0], 0);
