Index: src/core/SkEdgeBuilder.cpp |
diff --git a/src/core/SkEdgeBuilder.cpp b/src/core/SkEdgeBuilder.cpp |
index 799c6762d92939af57c5c646a215bdebf091263a..c3f5dafe8d7ef104f13d98ffc0fb6818da55c04e 100644 |
--- a/src/core/SkEdgeBuilder.cpp |
+++ b/src/core/SkEdgeBuilder.cpp |
@@ -150,7 +150,7 @@ int SkEdgeBuilder::buildPoly(const SkPath& path, const SkIRect* iclip, |
} |
SkASSERT((char*)edge <= (char*)fEdgeList); |
SkASSERT(edgePtr - fEdgeList <= maxEdgeCount); |
- return edgePtr - fEdgeList; |
+ return SkToInt(edgePtr - fEdgeList); |
} |
static void handle_quad(SkEdgeBuilder* builder, const SkPoint pts[3]) { |