Skip to content

Commit dc676d0

Browse files
committed
refactor: Cast size to int32_t in Fixed method of Literal class
1 parent afa389f commit dc676d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/iceberg/expression/literal.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ Literal Literal::Binary(std::vector<uint8_t> value) {
343343
}
344344

345345
Literal Literal::Fixed(std::vector<uint8_t> value) {
346-
const auto size = value.size();
346+
const auto size = static_cast<int32_t>(value.size());
347347
return {Value{std::move(value)}, fixed(size)};
348348
}
349349

0 commit comments

Comments
 (0)