commit | ef3fcd877aa78c1d0ac802043cd8785180304c12 | [log] [tgz] |
---|---|---|
author | bsalomon <bsalomon@google.com> | Fri Dec 12 08:51:38 2014 -0800 |
committer | Commit bot <commit-bot@chromium.org> | Fri Dec 12 08:51:39 2014 -0800 |
tree | 7129a84e40a97532af73b6fddc5cab5c663280ef | |
parent | 81a6c3cc75aae33a7334e6071b066537930b8558 [diff] [blame] |
More win64 warning fixes Review URL: https://codereview.chromium.org/798723002
diff --git a/gm/tallstretchedbitmaps.cpp b/gm/tallstretchedbitmaps.cpp index 905cee8..db55ddd 100644 --- a/gm/tallstretchedbitmaps.cpp +++ b/gm/tallstretchedbitmaps.cpp
@@ -69,7 +69,7 @@ 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); }