Index: src/gpu/GrDefaultPathRenderer.cpp |
=================================================================== |
--- src/gpu/GrDefaultPathRenderer.cpp (revision 11758) |
+++ src/gpu/GrDefaultPathRenderer.cpp (working copy) |
@@ -317,8 +317,8 @@ |
SkASSERT((vert - base) <= maxPts); |
SkASSERT((idx - idxBase) <= maxIdxs); |
- *vertexCnt = vert - base; |
- *indexCnt = idx - idxBase; |
+ *vertexCnt = static_cast<int>(vert - base); |
+ *indexCnt = static_cast<int>(idx - idxBase); |
} |
return true; |