Re: [hatari-devel] 2 warnings while compiling |
[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]
Tested, no more warning. Great. Laurent Le 28/12/2013 14:08, Nicolas Pomarède a écrit :
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 macrosPRIu64 from inttypes.h as format string instead (see hg commit cfad9b1735c5as an example). ThomasThanks for the tip, I made the changes ; Laurent, can you try again ? Nicolas
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |