I'm compiling my C code using Microchip's C18 compiler. I'm getting a warning [2054] suspicious pointer conversion
in this code:
unsigned char ENC_MAADR1 = 0x65;
unsigned char ENC_ReadRegister(unsigned char address);
// ...
puts(ENC_ReadRegister(ENC_MAADR1)); // <-- warning on this line
What does this warning mean and how can I solve it?