diff options
Diffstat (limited to 'tests/PathMeasureTest.cpp')
-rw-r--r-- | tests/PathMeasureTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/PathMeasureTest.cpp b/tests/PathMeasureTest.cpp index 453cdebb45..ee78c6b6f0 100644 --- a/tests/PathMeasureTest.cpp +++ b/tests/PathMeasureTest.cpp @@ -51,9 +51,9 @@ static void test_small_segment(skiatest::Reporter* reporter) { 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]); |