From 75589257c6ac7fc55a66502b74b8bc09c0212fea Mon Sep 17 00:00:00 2001 From: "tomhudson@google.com" Date: Tue, 10 Apr 2012 17:42:21 +0000 Subject: 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 --- tests/PointTest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/PointTest.cpp') 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" -- cgit v1.2.3