Finally fixed what was causing that stupid warning about the incompatable pointer types on the kernel.