diff --git a/gm/gradient_matrix.cpp b/gm/gradient_matrix.cpp index c1ff65e3d9..25e052c280 100644 --- a/gm/gradient_matrix.cpp +++ b/gm/gradient_matrix.cpp @@ -38,10 +38,10 @@ static const SkPoint linearPts[][2] = { }; static const SkPoint radialPts[][2] = { - {{0, 0.5}, {1, 0.5}}, + {{0, 0.5f}, {1, 0.5f}}, {{0.5, 0 }, {0.5, 1 }}, - {{1, 0.5}, {0, 0.5}}, - {{0.5, 1 }, {0.5, 0 }}, + {{1, 0.5f}, {0, 0.5f}}, + {{0.5f, 1 }, {0.5f, 0 }}, {{0, 0}, {1, 1}}, {{1, 1}, {0, 0}},