Index: gm/tallstretchedbitmaps.cpp |
diff --git a/gm/tallstretchedbitmaps.cpp b/gm/tallstretchedbitmaps.cpp |
index 905cee8c652cda754d3e3f7408278fd349df3ddc..db55dddb942aca81ee73a74f61906596d03b271f 100644 |
--- a/gm/tallstretchedbitmaps.cpp |
+++ b/gm/tallstretchedbitmaps.cpp |
@@ -69,7 +69,7 @@ protected: |
void onOnceBeforeDraw() SK_OVERRIDE { |
for (size_t i = 0; i < SK_ARRAY_COUNT(fTallBmps); ++i) { |
- int h = (4 + i) * 1024; |
+ int h = SkToInt((4 + i) * 1024); |
fTallBmps[i].fItemCnt = make_bm(&fTallBmps[i].fBmp, h); |
} |