I don't know which compiler you're using (MPLAB is just the IDE), but I've seen my compiler complain when you try to pass a string literal to a function expecting a char*.

Try changing this:

...