I'm getting the compiler warning
Warning [2066] type qualifier mismatch in assignment
two places in my code. I want to learn why and how to do it right.
One is from something like this:
putrsUSART("mystring ");
This one is particularly confusing because this is exactly how the MPLAB C18 Compiler Libraries document gives the example for putrsUSART().
The other is from
(* ouside of main *)
char small_global_array[5];
...
(* inside main *)
strcpypgm2ram( small_global_array, "AB \0");
Is there something I should be doing differently?