Merge branch 'mini-table-1' into minitable-api

pull/13171/head
Joshua Haberman 3 years ago
commit f783f16107
  1. 2
      upb/mini_table.c

@ -656,7 +656,7 @@ int upb_MtDecoder_CompareFields(const void* _a, const void* _b) {
uint32_t b_packed = UPB_COMBINE(b->rep, b->type, b->field_index);
assert(a_packed != b_packed);
#undef UPB_COMBINE
return a < b ? -1 : 1;
return a_packed < b_packed ? -1 : 1;
}
static bool upb_MtDecoder_SortLayoutItems(upb_MtDecoder* d) {

Loading…
Cancel
Save