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
This commit is contained in:
Andrew Mahone 2009-06-06 00:58:57 +00:00
parent d2eb5d2901
commit c76d940c06
2 changed files with 2 additions and 2 deletions

View file

@ -129,7 +129,7 @@ static inline uint32_t swap_odd_even32(uint32_t value)
extern const unsigned bit_n_table[32];
#define BIT_N(n) ( \
__builtin_constant_p(n) \
? (1LU << (n)) \
? (1U << (n)) \
: bit_n_table[n] \
)