Index: src/core/SkDistanceFieldGen.cpp |
diff --git a/src/core/SkDistanceFieldGen.cpp b/src/core/SkDistanceFieldGen.cpp |
index 92cf1af20d50fe7cd558264f78386016dffaf5c8..30354e09f83cb783c49ee018af74b3d8e236b272 100755 |
--- a/src/core/SkDistanceFieldGen.cpp |
+++ b/src/core/SkDistanceFieldGen.cpp |
@@ -461,7 +461,7 @@ static bool generate_distance_field_from_image(unsigned char* distanceField, |
// assumes an 8-bit image and distance field |
bool SkGenerateDistanceFieldFromA8Image(unsigned char* distanceField, |
const unsigned char* image, |
- int width, int height, int rowBytes) { |
+ int width, int height, size_t rowBytes) { |
SkASSERT(distanceField); |
SkASSERT(image); |
@@ -489,7 +489,7 @@ bool SkGenerateDistanceFieldFromA8Image(unsigned char* distanceField, |
// assumes a 1-bit image and 8-bit distance field |
bool SkGenerateDistanceFieldFromBWImage(unsigned char* distanceField, |
const unsigned char* image, |
- int width, int height, int rowBytes) { |
+ int width, int height, size_t rowBytes) { |
SkASSERT(distanceField); |
SkASSERT(image); |