Question : strcpy : pointer targets in passing argument 1 of ‘strcpy’ differ in signedness

hi,

my strings are unsigned and i am passing it to strcpy and i am getting this warning.

but the program runs fine. wouldn't i lose value because signed can only support up to 127 when
unsigned supports 0 to 255.

I also got this error for strlen.

tks

Answer : strcpy : pointer targets in passing argument 1 of ‘strcpy’ differ in signedness

The bits are the same, the value attributed to the bits may differ, bur strcpy does not care about the values, except for '\0' which is the same whether signed or unsigned.
Random Solutions  
 
programming4us programming4us