Index: uspace/srv/hw/irc/obio/obio.c
===================================================================
--- uspace/srv/hw/irc/obio/obio.c	(revision fbcdeb887f643e4a875e51120a2ddbf6fe35e4b3)
+++ uspace/srv/hw/irc/obio/obio.c	(revision 58f6229bb7083e2b5e220b8659cb3f600db5c217)
@@ -127,5 +127,6 @@
 	int flags = AS_AREA_READ | AS_AREA_WRITE;
 	int retval = physmem_map(base_phys,
-	    ALIGN_UP(OBIO_SIZE, PAGE_SIZE) >> PAGE_WIDTH, flags, &base_virt);
+	    ALIGN_UP(OBIO_SIZE, PAGE_SIZE) >> PAGE_WIDTH, flags,
+	    (void *) &base_virt);
 	
 	if (retval < 0) {
