summaryrefslogtreecommitdiff
path: root/xdelta3/xdelta3.c
diff options
context:
space:
mode:
Diffstat (limited to 'xdelta3/xdelta3.c')
-rw-r--r--xdelta3/xdelta3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xdelta3/xdelta3.c b/xdelta3/xdelta3.c
index 5c79f37..612e747 100644
--- a/xdelta3/xdelta3.c
+++ b/xdelta3/xdelta3.c
@@ -2174,7 +2174,7 @@ xd3_set_source (xd3_stream *stream,
2174 } 2174 }
2175 2175
2176 src->shiftby = shiftby; 2176 src->shiftby = shiftby;
2177 src->maskby = (1 << shiftby) - 1; 2177 src->maskby = (1ULL << shiftby) - 1ULL;
2178 2178
2179 if (xd3_check_pow2 (src->max_winsize, NULL) != 0) 2179 if (xd3_check_pow2 (src->max_winsize, NULL) != 0)
2180 { 2180 {