summaryrefslogtreecommitdiffstats
path: root/liblzma/simple/ia64.c
diff options
context:
space:
mode:
Diffstat (limited to 'liblzma/simple/ia64.c')
-rw-r--r--liblzma/simple/ia64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/liblzma/simple/ia64.c b/liblzma/simple/ia64.c
index 580529e..6492d0a 100644
--- a/liblzma/simple/ia64.c
+++ b/liblzma/simple/ia64.c
@@ -70,7 +70,7 @@ ia64_code(void *simple lzma_attribute((__unused__)),
inst_norm |= (uint64_t)(dest & 0x100000)
<< (36 - 20);
- instruction &= (1 << bit_res) - 1;
+ instruction &= (1U << bit_res) - 1;
instruction |= (inst_norm << bit_res);
for (size_t j = 0; j < 6; j++)