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