Index: third_party/protobuf/src/google/protobuf/compiler/java/java_string_field_lite.cc |
diff --git a/third_party/protobuf/src/google/protobuf/compiler/java/java_string_field_lite.cc b/third_party/protobuf/src/google/protobuf/compiler/java/java_string_field_lite.cc |
index 4d2dcad89a6a47cb8258108e2003001d43e04e5c..0b92c021852d83606a9206cf09f4bb94fd26f7ae 100644 |
--- a/third_party/protobuf/src/google/protobuf/compiler/java/java_string_field_lite.cc |
+++ b/third_party/protobuf/src/google/protobuf/compiler/java/java_string_field_lite.cc |
@@ -62,7 +62,7 @@ void SetPrimitiveVariables(const FieldDescriptor* descriptor, |
int builderBitIndex, |
const FieldGeneratorInfo* info, |
ClassNameResolver* name_resolver, |
- std::map<string, string>* variables) { |
+ map<string, string>* variables) { |
SetCommonFieldVariables(descriptor, info, variables); |
(*variables)["empty_list"] = |
@@ -72,8 +72,7 @@ void SetPrimitiveVariables(const FieldDescriptor* descriptor, |
(*variables)["default_init"] = |
"= " + ImmutableDefaultValue(descriptor, name_resolver); |
(*variables)["capitalized_type"] = "String"; |
- (*variables)["tag"] = |
- SimpleItoa(static_cast<int32>(WireFormat::MakeTag(descriptor))); |
+ (*variables)["tag"] = SimpleItoa(WireFormat::MakeTag(descriptor)); |
(*variables)["tag_size"] = SimpleItoa( |
WireFormat::TagSize(descriptor->number(), GetType(descriptor))); |
(*variables)["null_check"] = |