I'm reading a record from the database.
Some of the fields from the structure are strings and
some are integers.
Converting the integers to strings so I can populate a
form isn't working.
I am scratching my head.  It's like the code doesn't
understand I'm trying to
convert.  I get the same error message whether I
eliminate the StrIToA function or not.

Char * waterString;

waterString = StrIToA(rec->waterbody);

Error   : illegal implicit conversion from 'unsigned
short' to
'char *'
Information.c line 17     waterString =
StrIToA(rec->waterbody);


This code works right below it but rec->surveyDate is a
* Char
waterString = rec->surveyDate;

I've used the StrIToA function when converting integers
to strings so they can be displayed in a custom alert
before.


Also the value of rec->waterbody is correct when viewed
during the debugging process.

I realize it's probably something stupid.  Thanks for
your help.  Jay


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

Reply via email to