Re: [cc65] Arrays of structs

From: Groepaz <groepaz1gmx.net>
Date: 2005-08-16 17:51:40
On Tuesday 16 August 2005 17:49, Ullrich von Bassewitz wrote:
> On Tue, Aug 16, 2005 at 10:08:45PM +0930, Mike Hawkey wrote:
> > typedef		char		UINT8;
>
> BTW: It is better to use
>
>         typedef unsigned char UINT8;
>
> because chars may also be signed. cc65 has unsigned chars by default, but
> using "unsigned char" in the typedef is more portable. It is still not
> completely portable because chars must not be 8 bits wide, but compilers
> with other char width are quite rare.

mmmh doesnt C99 even define some standard types (uint8) for that?

-- 

http://www.hitmen-console.org
http://www.gc-linux.org/docs/yagcd.html
http://www.pokefinder.org
http://ftp.pokefinder.org

Für das große Chaos haben wir Computer. Die übrigen Fehler machen wir von 
Hand.

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Tue Aug 16 17:51:55 2005

This archive was generated by hypermail 2.1.8 : 2005-08-16 17:51:57 CEST