diff options
author | Joshua Haberman <joshua@reverberate.org> | 2009-08-30 20:04:38 -0700 |
---|---|---|
committer | Joshua Haberman <joshua@reverberate.org> | 2009-08-30 20:04:38 -0700 |
commit | 527a544b04d324e3772081fe51ef8e405124704f (patch) | |
tree | 9a6aef0410a800cf7a6735f5a28eae79b3908a7f /descriptor | |
parent | 085aa44fcd442ab031cad8160ebf2d605b0d6325 (diff) |
Small bugfix: enums are int32, not uint32.
Diffstat (limited to 'descriptor')
-rw-r--r-- | descriptor/descriptor.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/descriptor/descriptor.h b/descriptor/descriptor.h index 403d9df..f968015 100644 --- a/descriptor/descriptor.h +++ b/descriptor/descriptor.h @@ -303,7 +303,7 @@ struct google_protobuf_FieldOptions { bool uninterpreted_option:1; /* = 999, repeated. */ } has; } set_flags; - uint32_t ctype; + int32_t ctype; bool packed; bool deprecated; struct upb_string* experimental_map_key; @@ -326,7 +326,7 @@ struct google_protobuf_FileOptions { } set_flags; struct upb_string* java_package; struct upb_string* java_outer_classname; - uint32_t optimize_for; + int32_t optimize_for; bool java_multiple_files; UPB_MSG_ARRAY(google_protobuf_UninterpretedOption)* uninterpreted_option; }; @@ -379,8 +379,8 @@ struct google_protobuf_FieldDescriptorProto { struct upb_string* name; struct upb_string* extendee; int32_t number; - uint32_t label; - uint32_t type; + int32_t label; + int32_t type; struct upb_string* type_name; struct upb_string* default_value; google_protobuf_FieldOptions* options; |