On 3/27/09, David VanHorn <d...@mobilefusioninc.com> wrote:
> I was originally declaring my variable passed to lcd_puts as
>
> signed char LCD_String[LCD_Line_Len + 1]
>
> This, after discovering to my surprise that lcd_puts wants signed chars.
>
> Recently, I've converted to the portable typedefs as
>
> unit8_t and int8_t
>
> Now, whichever of those I use, I get a warning:
>  warning: pointer targets in passing argument 1 of 'lcd_puts' differ in
> signedness
>
> According to stdint.h, int8_t is supposed to be signed, which I understand
> to be the same as char.
>

In C there are 3 char types.  "char" "signed char" "unsigned char"  so
maybe "char" isn't signed?

Sean


_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Reply via email to