[英]Suspcicious pointer conversion warning
我正在使用Microchip的C18編譯器編譯我的C代碼。 我在這段代碼中收到警告[2054] suspicious pointer conversion
:
unsigned char ENC_MAADR1 = 0x65;
unsigned char ENC_ReadRegister(unsigned char address);
// ...
puts(ENC_ReadRegister(ENC_MAADR1)); // <-- warning on this line
這個警告意味着什么,我該如何解決?
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.