summaryrefslogtreecommitdiffstats
path: root/firmware/target/sh
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/sh')
-rw-r--r--firmware/target/sh/system-target.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/sh/system-target.h b/firmware/target/sh/system-target.h
index 2568911a1e..a84ce07af9 100644
--- a/firmware/target/sh/system-target.h
+++ b/firmware/target/sh/system-target.h
@@ -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] \
)