diff --git a/ruby/lib/google/protobuf/ffi/ffi.rb b/ruby/lib/google/protobuf/ffi/ffi.rb index 1858c91a7df7..765f04c2ba7b 100644 --- a/ruby/lib/google/protobuf/ffi/ffi.rb +++ b/ruby/lib/google/protobuf/ffi/ffi.rb @@ -21,7 +21,7 @@ class FFI Upb_Map_Begin = -1 ## Encoding Status - Upb_Status_MaxMessage = 127 + Upb_Status_MaxMessage = 511 Upb_Encode_Deterministic = 1 Upb_Encode_SkipUnknown = 2 diff --git a/upb/base/status.h b/upb/base/status.h index 5b75f880fd27..0527c2b5846b 100644 --- a/upb/base/status.h +++ b/upb/base/status.h @@ -13,7 +13,7 @@ // Must be last. #include "upb/port/def.inc" -#define _kUpb_Status_MaxMessage 127 +#define _kUpb_Status_MaxMessage 511 typedef struct { bool ok;