Richard Henderson <richard.hender...@linaro.org> writes:
> On 9/24/19 4:31 AM, Andrew Jones wrote: <snip> > >> +#if __SIZEOF_LONG__ == 8 >> +#define BIT(n) (1UL << (n)) >> +#else >> +#define BIT(n) (1ULL << (n)) >> +#endif > > There's no reason not to always use 1ULL is there? Also we already have this helper in bitops.h so should just use that. -- Alex Bennée