From c76d940c066c6fdb6a627529de4e745d0974232e Mon Sep 17 00:00:00 2001 From: Andrew Mahone Date: Sat, 6 Jun 2009 00:58:57 +0000 Subject: Replace 1UL in BIT_N with 1U to avoid turning it into a 64-bit operation on 64-bit sim targets. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21197 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/system.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'firmware/export') diff --git a/firmware/export/system.h b/firmware/export/system.h index d5da2225d6..3216948997 100644 --- a/firmware/export/system.h +++ b/firmware/export/system.h @@ -267,7 +267,7 @@ static inline uint32_t swap_odd_even32(uint32_t value) #endif /* !SIMULATOR */ #ifndef BIT_N -#define BIT_N(n) (1UL << (n)) +#define BIT_N(n) (1U << (n)) #endif /* Declare this as HIGHEST_IRQ_LEVEL if they don't differ */ -- cgit v1.2.3