diff options
author | tomhudson@google.com <tomhudson@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-04-10 17:42:21 +0000 |
---|---|---|
committer | tomhudson@google.com <tomhudson@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-04-10 17:42:21 +0000 |
commit | 75589257c6ac7fc55a66502b74b8bc09c0212fea (patch) | |
tree | 24d452385ad37eba7f91a17aec9b5a7851007229 /tests/PointTest.cpp | |
parent | 56dd630c41d662bcf2a3f08100f2c6accda05ba9 (diff) |
Fix miscellaneous compiler warnings from Visual Studio 2010.
Changes serialization path for MorphologyImageFilter, handling of Windows
HRESULTS; otherwise just tweaks tests.
git-svn-id: http://skia.googlecode.com/svn/trunk@3642 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tests/PointTest.cpp')
-rw-r--r-- | tests/PointTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/PointTest.cpp b/tests/PointTest.cpp index 876a2726b4..db9c803445 100644 --- a/tests/PointTest.cpp +++ b/tests/PointTest.cpp @@ -36,10 +36,10 @@ static void test_Normalize(skiatest::Reporter* reporter, void PointTest(skiatest::Reporter* reporter) { test_length(reporter, SkIntToScalar(3), SkIntToScalar(4), SkIntToScalar(5)); - test_length(reporter, SkFloatToScalar(0.6), SkFloatToScalar(0.8), + test_length(reporter, SkFloatToScalar(0.6f), SkFloatToScalar(0.8f), SK_Scalar1); test_Normalize(reporter, SkIntToScalar(3), SkIntToScalar(4)); - test_Normalize(reporter, SkFloatToScalar(0.6), SkFloatToScalar(0.8)); + test_Normalize(reporter, SkFloatToScalar(0.6f), SkFloatToScalar(0.8f)); } #include "TestClassDef.h" |