Skip to content

Commit b26afb5

Browse files
deannagarciacopybara-github
authored andcommitted
Update protobuf's UPB dep in preparation for the 23.0-rc1 release.
PiperOrigin-RevId: 527061210
1 parent 132c67c commit b26afb5

File tree

5 files changed

+1304
-10
lines changed

5 files changed

+1304
-10
lines changed

php/ext/google/protobuf/php-upb.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7225,7 +7225,7 @@ bool upb_MiniTable_Link(upb_MiniTable* mt, const upb_MiniTable** sub_tables,
72257225
upb_MiniTableField* f = (upb_MiniTableField*)&mt->fields[i];
72267226
if (upb_MiniTableField_CType(f) == kUpb_CType_Enum) {
72277227
const upb_MiniTableEnum* sub = sub_enums[enum_count++];
7228-
if (enum_count > sub_table_count) return false;
7228+
if (enum_count > sub_enum_count) return false;
72297229
if (sub != NULL) {
72307230
if (!upb_MiniTable_SetSubEnum(mt, f, sub)) return false;
72317231
}

0 commit comments

Comments
 (0)