Hi

Anyone know why sometimes the compiler gives the error

  : cannot convert
'unsigned char *' to
'char *'

I then convert my unsigned char * ( UInt8 buffer [21] )
to a char * ( Int8 buffer[21] ) and get

Error   : cannot convert
'signed char *' to
'char *'

I am using my buffer as follows

StrPrintF (buffer, "blah blah", blah);

Thanks

Rik

PS - The compiler also does not handle even word alligment correctly - ie if
you point a UInt 16 * at an odd address and read it you get a bus error. Im
sure that the complier should handle this !!!. Nasty bug to find as the
emulator give 3 unprintable charaters in a dialogue box as an error.


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to