"Matt Thomas" <m...@netbsd.org> writes: > Module Name: src > Committed By: matt > Date: Sat Jan 26 07:08:14 UTC 2013 > > Modified Files: > src/lib/libc/arch/arm/softfloat: arm-gcc.h > > Log Message: > Appease clang by making 64-bit literals use ULL > > > To generate a diff of this commit: > cvs rdiff -u -r1.3 -r1.4 src/lib/libc/arch/arm/softfloat/arm-gcc.h > > Please note that diffs are not public domain; they are subject to the > copyright notices on the relevant files. > > > Modified files: > > > Index: src/lib/libc/arch/arm/softfloat/arm-gcc.h > diff -u src/lib/libc/arch/arm/softfloat/arm-gcc.h:1.3 > src/lib/libc/arch/arm/softfloat/arm-gcc.h:1.4 > --- src/lib/libc/arch/arm/softfloat/arm-gcc.h:1.3 Sat Dec 24 21:11:16 2005 > +++ src/lib/libc/arch/arm/softfloat/arm-gcc.h Sat Jan 26 07:08:14 2013 > @@ -1,4 +1,4 @@ > -/* $NetBSD: arm-gcc.h,v 1.3 2005/12/24 21:11:16 perry Exp $ */ > +/* $NetBSD: arm-gcc.h,v 1.4 2013/01/26 07:08:14 matt Exp $ */ > > /* > > ------------------------------------------------------------------------------- > @@ -71,7 +71,7 @@ name for the 64-bit integer type. Some > defined as the identity macro: `#define LIT64( a ) a'. > > ------------------------------------------------------------------------------- > */ > -#define LIT64( a ) a##LL > +#define LIT64( a ) a##ULL > #endif
That's a bit strange. Don't we have UINT64_C for this? Or is too early for UINT64_C to be defined? -- HE CE3OH...