From adacc7067ad617cdc7bbef39192ca80f4b4d27f9 Mon Sep 17 00:00:00 2001 From: "robertphillips@google.com" Date: Mon, 14 Oct 2013 21:53:24 +0000 Subject: Start cleaning up 64bit Win warnings https://codereview.chromium.org/27192003/ git-svn-id: http://skia.googlecode.com/svn/trunk@11764 2bbb7eff-a529-9590-31e7-b0007b416f81 --- src/ports/SkFontHost_win_dw.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ports') diff --git a/src/ports/SkFontHost_win_dw.cpp b/src/ports/SkFontHost_win_dw.cpp index 1ab0b7e92b..974b90f903 100644 --- a/src/ports/SkFontHost_win_dw.cpp +++ b/src/ports/SkFontHost_win_dw.cpp @@ -1460,7 +1460,7 @@ static void populate_glyph_to_unicode(IDWriteFontFace* fontFace, } glyphToUnicode->setCount(maxGlyph+1); - for (size_t j = 0; j < maxGlyph+1u; ++j) { + for (USHORT j = 0; j < maxGlyph+1u; ++j) { (*glyphToUnicode)[j] = 0; } -- cgit v1.2.3