aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/simple/x86.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/liblzma/simple/x86.c')
-rw-r--r--src/liblzma/simple/x86.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liblzma/simple/x86.c b/src/liblzma/simple/x86.c
index 0b14807e..0e78909c 100644
--- a/src/liblzma/simple/x86.c
+++ b/src/liblzma/simple/x86.c
@@ -97,7 +97,7 @@ x86_code(void *simple_ptr, uint32_t now_pos, bool is_encoder,
if (!Test86MSByte(b))
break;
- src = dest ^ ((1 << (32 - i * 8)) - 1);
+ src = dest ^ ((1U << (32 - i * 8)) - 1);
}
buffer[buffer_pos + 4]