Enable warnings-as-errors on Windows.
Review URL: https://codereview.appspot.com/7066054
git-svn-id: http://skia.googlecode.com/svn/trunk@7094 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/tests/PathTest.cpp b/tests/PathTest.cpp
index 6f9a9e6..a83a0a4 100644
--- a/tests/PathTest.cpp
+++ b/tests/PathTest.cpp
@@ -239,6 +239,7 @@
static void test_path_isfinite(skiatest::Reporter* reporter) {
const SkScalar inf = SK_ScalarInfinity;
+ const SkScalar negInf = SK_ScalarNegativeInfinity;
const SkScalar nan = SK_ScalarNaN;
SkPath path;
@@ -252,7 +253,7 @@
REPORTER_ASSERT(reporter, path.isFinite());
path.reset();
- path.moveTo(inf, -inf);
+ path.moveTo(inf, negInf);
REPORTER_ASSERT(reporter, !path.isFinite());
path.reset();