Re: [hatari-devel] 2 warnings while compiling

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


Le 28/12/2013 11:59, Thomas Huth a écrit :

That's a common problem when printing 64-bit values ... Uint64 is
defined to "unsigned long long" on 32-bit systems and "unsigned long"
on 64-bit systems. You either have to typecast the variable to
"unsigned long long" for the printf (ugly), or you can use the macros
PRIu64 from inttypes.h as format string instead (see hg commit cfad9b1735c5
as an example).

  Thomas


Thanks for the tip, I made the changes ; Laurent, can you try again ?

Nicolas



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/