Index: uspace/srv/hid/console/gcons.c
===================================================================
--- uspace/srv/hid/console/gcons.c	(revision eda925ad3905a0c8e5cc3f1d3908e5bb1d14bcae)
+++ uspace/srv/hid/console/gcons.c	(revision b32c604f4c266680482da12fcd5d10bfc96fa4a6)
@@ -448,17 +448,17 @@
 	
 	int pm = make_pixmap(_binary_gfx_anim_1_ppm_start,
-	    (int) &_binary_gfx_anim_1_ppm_size);
+	    (size_t) &_binary_gfx_anim_1_ppm_size);
 	async_msg_2(fbphone, FB_ANIM_ADDPIXMAP, an, pm);
 	
 	pm = make_pixmap(_binary_gfx_anim_2_ppm_start,
-	    (int) &_binary_gfx_anim_2_ppm_size);
+	    (size_t) &_binary_gfx_anim_2_ppm_size);
 	async_msg_2(fbphone, FB_ANIM_ADDPIXMAP, an, pm);
 	
 	pm = make_pixmap(_binary_gfx_anim_3_ppm_start,
-	    (int) &_binary_gfx_anim_3_ppm_size);
+	    (size_t) &_binary_gfx_anim_3_ppm_size);
 	async_msg_2(fbphone, FB_ANIM_ADDPIXMAP, an, pm);
 	
 	pm = make_pixmap(_binary_gfx_anim_4_ppm_start,
-	    (int) &_binary_gfx_anim_4_ppm_size);
+	    (size_t) &_binary_gfx_anim_4_ppm_size);
 	async_msg_2(fbphone, FB_ANIM_ADDPIXMAP, an, pm);
 	
Index: uspace/srv/hid/fb/serial_console.c
===================================================================
--- uspace/srv/hid/fb/serial_console.c	(revision eda925ad3905a0c8e5cc3f1d3908e5bb1d14bcae)
+++ uspace/srv/hid/fb/serial_console.c	(revision b32c604f4c266680482da12fcd5d10bfc96fa4a6)
@@ -57,6 +57,6 @@
 void serial_putchar(wchar_t ch);
 
-static int scr_width;
-static int scr_height;
+static unsigned int scr_width;
+static unsigned int scr_height;
 static bool color = true;	/** True if producing color output. */
 static bool utf8 = false;	/** True if producing UTF8 output. */
@@ -108,5 +108,5 @@
 void serial_putchar(wchar_t ch)
 {
-	uint8_t buf[STR_BOUNDS(1)];
+	char buf[STR_BOUNDS(1)];
 	size_t offs;
 	size_t i;
@@ -294,6 +294,6 @@
 }
 
-int lastcol = 0;
-int lastrow = 0;
+unsigned int lastcol = 0;
+unsigned int lastrow = 0;
 
 /**
@@ -309,5 +309,8 @@
 
 	wchar_t c;
-	int col, row, w, h;
+	unsigned int col;
+	unsigned int row;
+	unsigned int w;
+	unsigned int h;
 	int i;
 
@@ -358,5 +361,5 @@
 				break;
 			}
-			if (col + w > scr_width || row + h > scr_height) {
+			if ((col + w > scr_width) || (row + h > scr_height)) {
 				retval = EINVAL;
 				break;
@@ -424,5 +427,5 @@
 		case FB_SCROLL:
 			i = IPC_GET_ARG1(call);
-			if ((i > scr_height) || (i < -scr_height)) {
+			if ((i > (int) scr_height) || (i < -((int) scr_height))) {
 				retval = EINVAL;
 				break;
Index: uspace/srv/hid/kbd/port/msim.c
===================================================================
--- uspace/srv/hid/kbd/port/msim.c	(revision eda925ad3905a0c8e5cc3f1d3908e5bb1d14bcae)
+++ uspace/srv/hid/kbd/port/msim.c	(revision b32c604f4c266680482da12fcd5d10bfc96fa4a6)
@@ -64,5 +64,5 @@
 {
 	async_set_interrupt_received(msim_irq_handler);
-	msim_cmds[0].addr = sysinfo_value("kbd.address.virtual");
+	msim_cmds[0].addr = (void *) sysinfo_value("kbd.address.virtual");
 	ipc_register_irq(sysinfo_value("kbd.inr"), device_assign_devno(),
 	    0, &msim_kbd);
Index: uspace/srv/hid/kbd/port/ns16550.c
===================================================================
--- uspace/srv/hid/kbd/port/ns16550.c	(revision eda925ad3905a0c8e5cc3f1d3908e5bb1d14bcae)
+++ uspace/srv/hid/kbd/port/ns16550.c	(revision b32c604f4c266680482da12fcd5d10bfc96fa4a6)
@@ -107,12 +107,4 @@
 }
 
-void ns16550_port_yield(void)
-{
-}
-
-void ns16550_port_reclaim(void)
-{
-}
-
 static void ns16550_irq_handler(ipc_callid_t iid, ipc_call_t *call)
 {
Index: uspace/srv/hid/kbd/port/sgcn.c
===================================================================
--- uspace/srv/hid/kbd/port/sgcn.c	(revision eda925ad3905a0c8e5cc3f1d3908e5bb1d14bcae)
+++ uspace/srv/hid/kbd/port/sgcn.c	(revision b32c604f4c266680482da12fcd5d10bfc96fa4a6)
@@ -92,5 +92,5 @@
 
 /* polling thread */
-static void *sgcn_thread_impl(void *arg);
+static void sgcn_thread_impl(void *arg);
 
 static volatile bool polling_disabled = false;
@@ -167,5 +167,5 @@
  * Thread to poll SGCN for keypresses.
  */
-static void *sgcn_thread_impl(void *arg)
+static void sgcn_thread_impl(void *arg)
 {
 	(void) arg;
Index: uspace/srv/hid/kbd/port/ski.c
===================================================================
--- uspace/srv/hid/kbd/port/ski.c	(revision eda925ad3905a0c8e5cc3f1d3908e5bb1d14bcae)
+++ uspace/srv/hid/kbd/port/ski.c	(revision b32c604f4c266680482da12fcd5d10bfc96fa4a6)
@@ -49,5 +49,5 @@
 #define POLL_INTERVAL		10000
 
-static void *ski_thread_impl(void *arg);
+static void ski_thread_impl(void *arg);
 static int32_t ski_getchar(void);
 
@@ -84,5 +84,5 @@
 
 /** Thread to poll Ski for keypresses. */
-static void *ski_thread_impl(void *arg)
+static void ski_thread_impl(void *arg)
 {
 	int32_t c;
Index: uspace/srv/hid/kbd/port/z8530.c
===================================================================
--- uspace/srv/hid/kbd/port/z8530.c	(revision eda925ad3905a0c8e5cc3f1d3908e5bb1d14bcae)
+++ uspace/srv/hid/kbd/port/z8530.c	(revision b32c604f4c266680482da12fcd5d10bfc96fa4a6)
@@ -96,12 +96,4 @@
 }
 
-void z8530_port_yield(void)
-{
-}
-
-void z8530_port_reclaim(void)
-{
-}
-
 static void z8530_irq_handler(ipc_callid_t iid, ipc_call_t *call)
 {
