Re: ISO: help porting C code to 64 bit linux platform



Jan Panteltje wrote:

From my limited experience you should replace all 'chars' and 'int's with
something like uin8_t uint16_t uin32_t etc...

Are you sure that char size do change ??? I would be a bit surprised...

Then watch out you have off_t where it is needed, not some unsigned long
or something (off_t lseek (int FILEDES, off_t OFFSET, int WHENCE) for example).
Those things so far did it for me.

Just curious... What does off_t stand for ?

Regards
--
Emmanuel Fleury | Office: 261
Associate Professor, | Phone: +33 (0)5 40 00 69 34
LaBRI, Domaine Universitaire | Fax: +33 (0)5 40 00 66 69
351, Cours de la Libération | email: emmanuel.fleury@xxxxxxxx
33405 Talence Cedex, France | URL: http://www.labri.fr/~fleury
.