diff options
author | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2011-10-27 21:47:03 +0000 |
---|---|---|
committer | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2011-10-27 21:47:03 +0000 |
commit | 72e49b8982586a5d8b0425f16d909c05a36ea8c3 (patch) | |
tree | fd08e38dad34154b060d34aa6cded73e97d17b75 /gm/points.cpp | |
parent | c5507bfe2d54e411ef6eb83452b8cbfbae009610 (diff) |
warning fixes
Review URL http://codereview.appspot.com/5328050/
git-svn-id: http://skia.googlecode.com/svn/trunk@2548 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gm/points.cpp')
-rw-r--r-- | gm/points.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gm/points.cpp b/gm/points.cpp index 4aa65975b6..8ac85b7485 100644 --- a/gm/points.cpp +++ b/gm/points.cpp @@ -32,8 +32,8 @@ protected: // Compute these independently and store in variables, rather // than in the parameter-passing expression, to get consistent // evaluation order across compilers. - float y = rand->nextUScalar1() * 480; - float x = rand->nextUScalar1() * 640; + SkScalar y = rand->nextUScalar1() * 480; + SkScalar x = rand->nextUScalar1() * 640; pts[i].set(x, y); } } |