From f82d198ba52ccfbc1f0c8e0bb57c66be9a9a0519 Mon Sep 17 00:00:00 2001 From: Protobuf Team Bot Date: Tue, 7 Nov 2023 21:50:17 +0000 Subject: [PATCH] Auto-generate files after cl/580285127 --- php/ext/google/protobuf/php-upb.c | 2 +- ruby/ext/google/protobuf_c/ruby-upb.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/php/ext/google/protobuf/php-upb.c b/php/ext/google/protobuf/php-upb.c index cdd27ede87..d375f0f5df 100644 --- a/php/ext/google/protobuf/php-upb.c +++ b/php/ext/google/protobuf/php-upb.c @@ -8231,7 +8231,7 @@ const upb_MiniTableField* upb_MiniTable_GetOneof(const upb_MiniTable* m, } const upb_MiniTableField* ptr = &m->fields[0]; const upb_MiniTableField* end = &m->fields[m->field_count]; - while (++ptr < end) { + for (; ptr < end; ptr++) { if (ptr->presence == (*f).presence) { return ptr; } diff --git a/ruby/ext/google/protobuf_c/ruby-upb.c b/ruby/ext/google/protobuf_c/ruby-upb.c index 63627d4b83..cdcbf4a1db 100644 --- a/ruby/ext/google/protobuf_c/ruby-upb.c +++ b/ruby/ext/google/protobuf_c/ruby-upb.c @@ -7746,7 +7746,7 @@ const upb_MiniTableField* upb_MiniTable_GetOneof(const upb_MiniTable* m, } const upb_MiniTableField* ptr = &m->fields[0]; const upb_MiniTableField* end = &m->fields[m->field_count]; - while (++ptr < end) { + for (; ptr < end; ptr++) { if (ptr->presence == (*f).presence) { return ptr; }