This commit is contained in:
Sergey Mozhaykin 2023-12-20 23:52:30 +00:00 committed by GitHub
commit a31ef1e0eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -480,7 +480,7 @@ absl::Status ProtoUtilLite::WriteValue(const FieldData& value,
WireFormatLite::WriteUInt64NoTag(value.uint64_value(), &out);
break;
case WireFormatLite::TYPE_DOUBLE:
WireFormatLite::WriteDoubleNoTag(value.uint64_value(), &out);
WireFormatLite::WriteDoubleNoTag(value.double_value(), &out);
break;
case WireFormatLite::TYPE_FLOAT:
WireFormatLite::WriteFloatNoTag(value.float_value(), &out);