Skip to content

Commit

Permalink
explicit uint8_t for msvc
Browse files Browse the repository at this point in the history
  • Loading branch information
bkietz committed Jul 3, 2019
1 parent c8fe184 commit 566014c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/src/arrow/compare.cc
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ class RangeEqualsVisitor {
// Define a mapping from the type id to child number
const std::vector<uint8_t>& type_codes = left_type.type_codes();
std::vector<uint8_t> type_id_to_child_num(left.union_type()->max_type_code() + 1, 0);
for (size_t i = 0; i < type_codes.size(); ++i) {
for (uint8_t i = 0; i < type_codes.size(); ++i) {
type_id_to_child_num[type_codes[i]] = i;
}

Expand Down

0 comments on commit 566014c

Please sign in to comment.