Index: kernel/generic/src/main/kinit.c
===================================================================
--- kernel/generic/src/main/kinit.c	(revision b3f8fb771f871e7f2bb35ce9339717639e8f86d6)
+++ kernel/generic/src/main/kinit.c	(revision c993e4509b7e3c511044d8e7ecb0116eeb114012)
@@ -119,5 +119,5 @@
 #ifdef CONFIG_SMP
 	if (config.cpu_count > 1) {
-		int i;
+		unsigned int i;
 		
 		/*
@@ -147,5 +147,5 @@
 	 * Create kernel console.
 	 */
-	t = thread_create(kconsole, "kconsole", TASK, 0, "kconsole", false);
+	t = thread_create(kconsole, (void *) "kconsole", TASK, 0, "kconsole", false);
 	if (t)
 		thread_ready(t);
