Index: kernel/arch/mips32/src/exception.c
===================================================================
--- kernel/arch/mips32/src/exception.c	(revision b3b7e14a1e27b36c3c59ce41e9bc3060bdc881fd)
+++ kernel/arch/mips32/src/exception.c	(revision 928d98306883aa20d172df3fa1ff1af4d3467e95)
@@ -79,5 +79,5 @@
 }
 
-static void unhandled_exception(int n, istate_t *istate)
+static void unhandled_exception(unsigned int n, istate_t *istate)
 {
 	fault_if_from_uspace(istate, "Unhandled exception %s.", exctable[n]);
@@ -87,5 +87,5 @@
 }
 
-static void reserved_instr_exception(int n, istate_t *istate)
+static void reserved_instr_exception(unsigned int n, istate_t *istate)
 {
 	if (*((uint32_t *) istate->epc) == 0x7c03e83b) {
@@ -97,5 +97,5 @@
 }
 
-static void breakpoint_exception(int n, istate_t *istate)
+static void breakpoint_exception(unsigned int n, istate_t *istate)
 {
 #ifdef CONFIG_DEBUG
@@ -109,10 +109,10 @@
 }
 
-static void tlbmod_exception(int n, istate_t *istate)
+static void tlbmod_exception(unsigned int n, istate_t *istate)
 {
 	tlb_modified(istate);
 }
 
-static void tlbinv_exception(int n, istate_t *istate)
+static void tlbinv_exception(unsigned int n, istate_t *istate)
 {
 	tlb_invalid(istate);
@@ -120,5 +120,5 @@
 
 #ifdef CONFIG_FPU_LAZY
-static void cpuns_exception(int n, istate_t *istate)
+static void cpuns_exception(unsigned int n, istate_t *istate)
 {
 	if (cp0_cause_coperr(cp0_cause_read()) == fpu_cop_id)
@@ -131,5 +131,5 @@
 #endif
 
-static void interrupt_exception(int n, istate_t *istate)
+static void interrupt_exception(unsigned int n, istate_t *istate)
 {
 	/* Decode interrupt number and process the interrupt */
@@ -151,5 +151,5 @@
 				 */
 #ifdef CONFIG_DEBUG
-				printf("cpu%u: spurious interrupt (inum=%d)\n",
+				printf("cpu%u: spurious interrupt (inum=%u)\n",
 				    CPU->id, i);
 #endif
@@ -160,5 +160,5 @@
 
 /** Handle syscall userspace call */
-static void syscall_exception(int n, istate_t *istate)
+static void syscall_exception(unsigned int n, istate_t *istate)
 {
 	panic("Syscall is handled through shortcut.");
