diff options
author | fmalita@google.com <fmalita@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-05-01 20:35:51 +0000 |
---|---|---|
committer | fmalita@google.com <fmalita@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-05-01 20:35:51 +0000 |
commit | 22eb7944e07ed5761c901265ecb802ab608d302b (patch) | |
tree | 9a3c563dcab818c9840b37c79f5068f7c71cd49c | |
parent | 347c382d580cd1bc223e11a355b6a1c65d206e34 (diff) |
SkOpSegment.cpp gcc 4.7 build failure.
SkOpSegment.cpp:2240:5: error: ordered comparison of pointer with integer zero
Caught by gcc 4.7 -Werror=extra.
R=caryclark@google.com
Review URL: https://codereview.chromium.org/14770005
git-svn-id: http://skia.googlecode.com/svn/trunk@8940 2bbb7eff-a529-9590-31e7-b0007b416f81
-rw-r--r-- | src/pathops/SkOpSegment.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pathops/SkOpSegment.cpp b/src/pathops/SkOpSegment.cpp index 43afa08555..b5702cb7f8 100644 --- a/src/pathops/SkOpSegment.cpp +++ b/src/pathops/SkOpSegment.cpp @@ -2237,7 +2237,7 @@ SkOpSegment* SkOpSegment::nextChase(int* index, const int step, int* min, SkOpSp const SkOpSpan& endSpan = fTs[end]; SkOpSegment* other = endSpan.fOther; *index = endSpan.fOtherIndex; - SkASSERT(index >= 0); + SkASSERT(*index >= 0); int otherEnd = other->nextExactSpan(*index, step); SkASSERT(otherEnd >= 0); *min = SkMin32(*index, otherEnd); |