Author: blueswirl Date: 2009-08-17 18:58:39 +0200 (Mon, 17 Aug 2009) New Revision: 555
Modified: trunk/openbios-devel/include/sparc64/types.h Log: Sparc64: partially revert r515: long long is safer than int64_t
Host headers may define int64_t as different type than long long, especially on a 64 bit host. This matters with printf formatting.
Signed-off-by: Blue Swirl blauwirbel@gmail.com
Modified: trunk/openbios-devel/include/sparc64/types.h =================================================================== --- trunk/openbios-devel/include/sparc64/types.h 2009-08-17 16:58:35 UTC (rev 554) +++ trunk/openbios-devel/include/sparc64/types.h 2009-08-17 16:58:39 UTC (rev 555) @@ -29,8 +29,8 @@ #include "autoconf.h"
/* cell based types */ -typedef int64_t cell; -typedef uint64_t ucell; +typedef long long cell; +typedef unsigned long long ucell;
#define FMT_cell "%lld" #define FMT_ucell "%llu"