diff --git a/mediapipe/framework/tool/proto_util_lite.cc b/mediapipe/framework/tool/proto_util_lite.cc index a810ce129..b338e9a5b 100644 --- a/mediapipe/framework/tool/proto_util_lite.cc +++ b/mediapipe/framework/tool/proto_util_lite.cc @@ -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);