Skip to content

Commit

Permalink
Fix up sign comparison warning.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 540420790
  • Loading branch information
Dave MacLachlan authored and copybara-github committed Jun 15, 2023
1 parent 25a9547 commit 52430d7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/google/protobuf/generated_message_reflection.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3386,7 +3386,8 @@ const internal::TcParseTableBase* Reflection::CreateTcParseTable() const {
inlined_string_indices);

const size_t fast_entries_count = table_info.fast_path_fields.size();
ABSL_CHECK_EQ(fast_entries_count, 1 << table_info.table_size_log2);
ABSL_CHECK_EQ(static_cast<int>(fast_entries_count),
1 << table_info.table_size_log2);
const uint16_t lookup_table_offset = AlignTo<uint16_t>(
sizeof(TcParseTableBase) +
fast_entries_count * sizeof(TcParseTableBase::FastFieldEntry));
Expand Down

0 comments on commit 52430d7

Please sign in to comment.