Mauricio Tavares <[EMAIL PROTECTED]> writes:

> >The int value of a char is the ascii value.
> 
>       Don't you have to typecast it first?
> 
>       return (UInt8)TheChar;

Typecasting is good form, but C will promote chars to ints where
appropriate.

-- 
Dave Carrigan ([EMAIL PROTECTED])            | Yow! If I pull this SWITCH I'll
UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-DNS | be RITA HAYWORTH!!  Or a
Seattle, WA, USA                            | SCIENTOLOGIST!
http://www.rudedog.org/                     | 

-- 
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