14 lines
539 B
Text
14 lines
539 B
Text
https://github.com/protobuf-c/protobuf-c/pull/673
|
|
|
|
Index: protoc-c/c_primitive_field.cc
|
|
--- protoc-c/c_primitive_field.cc.orig
|
|
+++ protoc-c/c_primitive_field.cc
|
|
@@ -143,7 +143,7 @@ std::string PrimitiveFieldGenerator::GetDefaultValue()
|
|
case FieldDescriptor::CPPTYPE_BOOL:
|
|
return descriptor_->default_value_bool() ? "1" : "0";
|
|
default:
|
|
- GOOGLE_LOG(DFATAL) << "unexpected CPPTYPE in c_primitive_field";
|
|
+ GOOGLE_LOG(FATAL) << "unexpected CPPTYPE in c_primitive_field";
|
|
return "UNEXPECTED_CPPTYPE";
|
|
}
|
|
}
|