diff options
Diffstat (limited to 'xdelta3/testing/checksum_test.cc')
-rw-r--r-- | xdelta3/testing/checksum_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xdelta3/testing/checksum_test.cc b/xdelta3/testing/checksum_test.cc index 5b57a49..c508753 100644 --- a/xdelta3/testing/checksum_test.cc +++ b/xdelta3/testing/checksum_test.cc | |||
@@ -473,7 +473,7 @@ struct test_result : public test_result_base { | |||
473 | usize_t i; | 473 | usize_t i; |
474 | 474 | ||
475 | for (i = 3; i <= bits; i += 1) { | 475 | for (i = 3; i <= bits; i += 1) { |
476 | if (slots <= (1 << i)) { | 476 | if (slots <= (1U << i)) { |
477 | return i - Checksum::compaction; | 477 | return i - Checksum::compaction; |
478 | } | 478 | } |
479 | } | 479 | } |