warning fixes
Review URL http://codereview.appspot.com/5328050/
git-svn-id: http://skia.googlecode.com/svn/trunk@2548 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/gm/points.cpp b/gm/points.cpp
index 4aa6597..8ac85b7 100644
--- a/gm/points.cpp
+++ b/gm/points.cpp
@@ -32,8 +32,8 @@
// 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);
}
}