diff options
author | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-05-08 12:14:22 +0000 |
---|---|---|
committer | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-05-08 12:14:22 +0000 |
commit | 83edde21f3945f988656c023384bd33e87f8b48d (patch) | |
tree | 165bef66ab02538bce0b3fb4d727aa0f6f334202 /src/core/SkLineClipper.cpp | |
parent | cc61b1762814ada94970ac071aa2d0a96f897363 (diff) |
mirror of https://codereview.appspot.com/6188054/
fix double->float conversion warning
git-svn-id: http://skia.googlecode.com/svn/trunk@3866 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/core/SkLineClipper.cpp')
-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 ebd3bfa593..477596cb03 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-05, 9.99999996e-13 } + { -9.10000017e-05f, 9.99999996e-13f } }; float x = sect_with_horizontal(pts, 0); SkASSERT(is_between_unsorted(x, pts[0].fX, pts[1].fX)); |