Skip to content

Commit 6c0407d

Browse files
committed
Fix build-window build failure
1 parent e941e18 commit 6c0407d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

table/block_based/block_test.cc

+2-2
Original file line numberDiff line numberDiff line change
@@ -693,8 +693,8 @@ class BlockPerKVChecksumTest : public DBTestBase {
693693
if (!checksum_len) {
694694
return checksum_ptr == nullptr;
695695
}
696-
return ProtectionInfo64().ProtectKV(key, val).Verify(checksum_len,
697-
checksum_ptr);
696+
return ProtectionInfo64().ProtectKV(key, val).Verify(
697+
static_cast<uint8_t>(checksum_len), checksum_ptr);
698698
}
699699
};
700700

0 commit comments

Comments
 (0)