diff options
author | Sergio Campamá <kaipi@google.com> | 2016-09-08 12:15:12 -0700 |
---|---|---|
committer | Thomas Van Lenten <thomasvl@google.com> | 2016-09-08 15:15:12 -0400 |
commit | 14e74f6a21f2726d25e0e679c59d569f6bc8fe8e (patch) | |
tree | ce8f08262113361b116c643a358e0fe2f49c5aa0 /objectivec/google/protobuf/Any.pbobjc.m | |
parent | 4bc16578537495b5ee010d89f2909858312210ac (diff) |
Support the -Wassign-enum compiler flag. (#2085)
Support the -Wassign-enum compiler flag.
Diffstat (limited to 'objectivec/google/protobuf/Any.pbobjc.m')
-rw-r--r-- | objectivec/google/protobuf/Any.pbobjc.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/objectivec/google/protobuf/Any.pbobjc.m b/objectivec/google/protobuf/Any.pbobjc.m index deaedc16..7f5aa823 100644 --- a/objectivec/google/protobuf/Any.pbobjc.m +++ b/objectivec/google/protobuf/Any.pbobjc.m @@ -71,7 +71,7 @@ typedef struct GPBAny__storage_ { .number = GPBAny_FieldNumber_TypeURL, .hasIndex = 0, .offset = (uint32_t)offsetof(GPBAny__storage_, typeURL), - .flags = GPBFieldOptional | GPBFieldTextFormatNameCustom, + .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldTextFormatNameCustom), .dataType = GPBDataTypeString, }, { @@ -91,7 +91,7 @@ typedef struct GPBAny__storage_ { fields:fields fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription)) storageSize:sizeof(GPBAny__storage_) - flags:0]; + flags:GPBDescriptorInitializationFlag_None]; #if !GPBOBJC_SKIP_MESSAGE_TEXTFORMAT_EXTRAS static const char *extraTextFormatInfo = "\001\001\004\241!!\000"; |