diff options
author | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-05-08 13:15:37 +0000 |
---|---|---|
committer | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-05-08 13:15:37 +0000 |
commit | c6ce750c73c6586a5c2e88a0620b04e9569af401 (patch) | |
tree | bfa313ab7b16bae4898a767524f510218ca71161 /src/core | |
parent | 83edde21f3945f988656c023384bd33e87f8b48d (diff) |
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
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/SkLineClipper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/SkLineClipper.cpp b/src/core/SkLineClipper.cpp index 477596cb03..b2560d69b3 100644 --- a/src/core/SkLineClipper.cpp +++ b/src/core/SkLineClipper.cpp @@ -175,7 +175,7 @@ static bool is_between_unsorted(SkScalar value, static void sect_with_horizontal_test_for_pin_results() { const SkPoint pts[] = { { -540000, -720000 }, - { -9.10000017e-05f, 9.99999996e-13f } + { SkFloatToScalar(-9.10000017e-05f), SkFloatToScalar(9.99999996e-13f) } }; float x = sect_with_horizontal(pts, 0); SkASSERT(is_between_unsorted(x, pts[0].fX, pts[1].fX)); |