Index: src/opts/SkTextureCompression_opts_neon.cpp |
diff --git a/src/opts/SkTextureCompression_opts_neon.cpp b/src/opts/SkTextureCompression_opts_neon.cpp |
index bd7469b84ceddd4ea30e6c83d1816faa58396277..b3b5037b8ca8c948b3ad1c5281607feaba676a86 100644 |
--- a/src/opts/SkTextureCompression_opts_neon.cpp |
+++ b/src/opts/SkTextureCompression_opts_neon.cpp |
@@ -147,7 +147,7 @@ static inline uint64x2_t fix_endianness(uint64x2_t x) { |
} |
#endif |
-static void compress_r11eac_blocks(uint64_t* dst, const uint8_t* src, int rowBytes) { |
+static void compress_r11eac_blocks(uint64_t* dst, const uint8_t* src, size_t rowBytes) { |
// Try to avoid switching between vector and non-vector ops... |
const uint8_t *const src1 = src; |
@@ -208,7 +208,7 @@ static void compress_r11eac_blocks(uint64_t* dst, const uint8_t* src, int rowByt |
} |
bool CompressA8toR11EAC_NEON(uint8_t* dst, const uint8_t* src, |
- int width, int height, int rowBytes) { |
+ int width, int height, size_t rowBytes) { |
// Since we're going to operate on 4 blocks at a time, the src width |
// must be a multiple of 16. However, the height only needs to be a |