From 56a2e0de631a647aa04e98ec123f3544273f26ca Mon Sep 17 00:00:00 2001 From: "reed@google.com" Date: Tue, 19 Mar 2013 14:50:41 +0000 Subject: [PATCH] fix double->float warnings git-svn-id: http://skia.googlecode.com/svn/trunk@8224 2bbb7eff-a529-9590-31e7-b0007b416f81 --- gm/rects.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gm/rects.cpp b/gm/rects.cpp index e059284099..2c972fb0cc 100644 --- a/gm/rects.cpp +++ b/gm/rects.cpp @@ -128,28 +128,28 @@ protected: { // 1x1.5 scale SkMatrix m; - m.setScale(1, 1.5); + m.setScale(1, 1.5f); fMatrices.push_back(m); } { // 1.5x1.5 scale SkMatrix m; - m.setScale(1.5, 1.5); + m.setScale(1.5f, 1.5f); fMatrices.push_back(m); } { // 1x1.5 skew SkMatrix m; - m.setSkew(1, 1.5); + m.setSkew(1, 1.5f); fMatrices.push_back(m); } { // 1.5x1.5 skew SkMatrix m; - m.setSkew(1.5, 1.5); + m.setSkew(1.5f, 1.5f); fMatrices.push_back(m); }