aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/delta/delta_decoder.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/liblzma/delta/delta_decoder.c')
-rw-r--r--src/liblzma/delta/delta_decoder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liblzma/delta/delta_decoder.c b/src/liblzma/delta/delta_decoder.c
index 6859afa5..13d8a28f 100644
--- a/src/liblzma/delta/delta_decoder.c
+++ b/src/liblzma/delta/delta_decoder.c
@@ -70,7 +70,7 @@ lzma_delta_props_decode(void **options, const lzma_allocator *allocator,
return LZMA_MEM_ERROR;
opt->type = LZMA_DELTA_TYPE_BYTE;
- opt->dist = props[0] + 1;
+ opt->dist = props[0] + 1U;
*options = opt;