Index: kernel/generic/src/main/kinit.c
===================================================================
--- kernel/generic/src/main/kinit.c	(revision b3f8fb771f871e7f2bb35ce9339717639e8f86d6)
+++ kernel/generic/src/main/kinit.c	(revision d5bd8d70ae04526718fa7fc44f9461c962ec9964)
@@ -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);
