Fixed issue with merging double graph options fields

This commit is contained in:
Sergei Mozhaikin 2023-01-17 11:26:40 +03:00
parent c1f5920ecf
commit 1178a1a26c

View File

@ -479,7 +479,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);