Index: src/images/SkImageDecoder_libwebp.cpp |
=================================================================== |
--- src/images/SkImageDecoder_libwebp.cpp (revision 11775) |
+++ src/images/SkImageDecoder_libwebp.cpp (working copy) |
@@ -242,7 +242,7 @@ |
config->output.colorspace = mode; |
config->output.u.RGBA.rgba = (uint8_t*)decodedBitmap->getPixels(); |
- config->output.u.RGBA.stride = decodedBitmap->rowBytes(); |
+ config->output.u.RGBA.stride = (int) decodedBitmap->rowBytes(); |
config->output.u.RGBA.size = decodedBitmap->getSize(); |
config->output.is_external_memory = 1; |