From: Bernhard H. <Ber...@ot...> - 2001-04-01 10:58:13
|
> > when I compile following code I get the Warning, and the return value is =0. What you want is: unsigned char test (void) { return (0xff); } void main (void) { unsigned char uc = 0; uc = test(); } You assigned the >address< of function test to uc. Bernhard |