Index: src/core/SkLineClipper.cpp |
diff --git a/src/core/SkLineClipper.cpp b/src/core/SkLineClipper.cpp |
index 634de0d1e78e65635087ccf292fb6e4223e6e4ca..1645917d70f5d60ba9722ef2301f12aa6530355d 100644 |
--- a/src/core/SkLineClipper.cpp |
+++ b/src/core/SkLineClipper.cpp |
@@ -267,7 +267,7 @@ int SkLineClipper::ClipLine(const SkPoint pts[], const SkRect& clip, |
*r = tmp[index1]; |
} |
- lineCount = r - result; |
+ lineCount = SkToInt(r - result); |
} |
// Now copy the results into the caller's lines[] parameter |