Index: experimental/skpdiff/SkDiffContext.cpp |
diff --git a/experimental/skpdiff/SkDiffContext.cpp b/experimental/skpdiff/SkDiffContext.cpp |
index 519870397e70177ad95ce34f83b42dc4d089a548..a75450b65b23fb1e02ac70ac1bb8070bc86bd949 100644 |
--- a/experimental/skpdiff/SkDiffContext.cpp |
+++ b/experimental/skpdiff/SkDiffContext.cpp |
@@ -181,7 +181,7 @@ void SkDiffContext::outputRecords(SkWStream& stream, bool useJSONP) { |
stream.writeText("\",\n"); |
stream.writeText(" \"result\": "); |
- stream.writeScalarAsText(data.fResult); |
+ stream.writeScalarAsText((SkScalar)data.fResult); |
stream.writeText(",\n"); |
stream.writeText(" \"pointsOfInterest\": [\n"); |