Index: src/core/SkBitmap.cpp |
diff --git a/src/core/SkBitmap.cpp b/src/core/SkBitmap.cpp |
index eddfd319393f75b67b9ab9078bbc9bad72c3e196..9139f78719d638fdb36158d77e6ac839de6db4ce 100644 |
--- a/src/core/SkBitmap.cpp |
+++ b/src/core/SkBitmap.cpp |
@@ -259,7 +259,7 @@ bool SkBitmap::setConfig(const SkImageInfo& info, size_t rowBytes) { |
if ((int32_t)mrb != mrb) { |
return reset_return_false(this); |
} |
- if ((ssize_t)rowBytes != (int32_t)rowBytes) { |
+ if ((int64_t)rowBytes != (int32_t)rowBytes) { |
return reset_return_false(this); |
} |