Fixed some fixed point build Windows compiler complaints
http://codereview.appspot.com/6197063/
git-svn-id: http://skia.googlecode.com/svn/trunk@3867 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/tests/PathMeasureTest.cpp b/tests/PathMeasureTest.cpp
index 453cdeb..ee78c6b 100644
--- a/tests/PathMeasureTest.cpp
+++ b/tests/PathMeasureTest.cpp
@@ -51,9 +51,9 @@
const SkPoint pts[] = {
{ 100000, 100000},
// big jump between these points, makes a big segment
- { 1.0005, 0.9999 },
+ { SkFloatToScalar(1.0005f), SkFloatToScalar(0.9999f) },
// tiny (non-zero) jump between these points
- { 1, 1 },
+ { SK_Scalar1, SK_Scalar1 },
};
path.moveTo(pts[0]);