Index: src/utils/SkNinePatch.cpp |
=================================================================== |
--- src/utils/SkNinePatch.cpp (revision 11751) |
+++ src/utils/SkNinePatch.cpp (working copy) |
@@ -25,7 +25,7 @@ |
10, 15, 11, 10, 14, 15 |
}; |
-static int fillIndices(uint16_t indices[], int xCount, int yCount) { |
+static size_t fillIndices(uint16_t indices[], int xCount, int yCount) { |
uint16_t* startIndices = indices; |
int n = 0; |
@@ -203,7 +203,7 @@ |
if (numXDivs == 2 && numYDivs <= 2) { |
mesh.fIndices = g3x3Indices; |
} else { |
- SkDEBUGCODE(int n =) fillIndices(indices, numXDivs + 1, numYDivs + 1); |
+ SkDEBUGCODE(size_t n =) fillIndices(indices, numXDivs + 1, numYDivs + 1); |
SkASSERT(n == indexCount); |
mesh.fIndices = indices; |
} |