Index: uspace/drv/time/cmos-rtc/cmos-rtc.c
===================================================================
--- uspace/drv/time/cmos-rtc/cmos-rtc.c	(revision 762083bc8a2d6259a231487a7f1d20a786ff0a6b)
+++ uspace/drv/time/cmos-rtc/cmos-rtc.c	(revision 971f50e7b8ec7e54ff3b15b786bb8f91611ed5fd)
@@ -66,5 +66,5 @@
 	fibril_mutex_t mutex;
 	/** The base I/O address of the device registers */
-	uint32_t io_addr;
+	ioport8_t *io_addr;
 	/** The I/O port used to access the CMOS registers */
 	ioport8_t *port;
@@ -222,5 +222,5 @@
 				goto error;
 			}
-			rtc->io_addr = res->res.io_range.address;
+			rtc->io_addr = (ioport8_t *) res->res.io_range.address;
 			ioport = true;
 			ddf_msg(LVL_NOTE, "Device %s was assigned I/O address \
