aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/dashing.cpp
diff options
context:
space:
mode:
authorGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-01-07 20:25:04 +0000
committerGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-01-07 20:25:04 +0000
commit140d7286c5a40058932696eaa28818c313bd2ddf (patch)
treef615391da77f01a324e44ab2b92cb5c0314fda29 /gm/dashing.cpp
parentf286329ad13b43a8e398df3e0c376403882f1690 (diff)
fix warnings
Review URL: https://codereview.appspot.com/7073044 git-svn-id: http://skia.googlecode.com/svn/trunk@7064 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gm/dashing.cpp')
-rw-r--r--gm/dashing.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gm/dashing.cpp b/gm/dashing.cpp
index 70fb9b1fa2..914824d885 100644
--- a/gm/dashing.cpp
+++ b/gm/dashing.cpp
@@ -245,7 +245,7 @@ protected:
// 1on/1off 1x1 squares with phase of 1 and non-integer length - rects fastpath
canvas->save();
canvas->translate(332, 0);
- this->drawDashedLines(canvas, 99.5, SK_ScalarHalf, SK_Scalar1, 1, false);
+ this->drawDashedLines(canvas, 99.5f, SK_ScalarHalf, SK_Scalar1, 1, false);
canvas->restore();
// 1on/1off 3x3 squares with phase of 0 - points fast path