|Re: [hatari-devel] 2 warnings while compiling|
[ Thread Index |
| More lists.tuxfamily.org/hatari-devel Archives
Tested, no more warning.
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 macros
PRIu64 from inttypes.h as format string instead (see hg commit
as an example).
Thanks for the tip, I made the changes ; Laurent, can you try again ?