diff options
Diffstat (limited to 'tools/sk_tool_utils_font.cpp')
-rw-r--r-- | tools/sk_tool_utils_font.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/sk_tool_utils_font.cpp b/tools/sk_tool_utils_font.cpp index aced71747e..3236f07c84 100644 --- a/tools/sk_tool_utils_font.cpp +++ b/tools/sk_tool_utils_font.cpp @@ -22,7 +22,7 @@ static void release_portable_typefaces() { // makes this unsafe to delete when the main process atexit()s. // SkLazyPtr does the same sort of thing. #if SK_DEVELOPER - for (unsigned index = 0; index < gTestFontsCount; ++index) { + for (int index = 0; index < gTestFontsCount; ++index) { SkTestFontData& fontData = gTestFonts[index]; SkSafeUnref(fontData.fFontCache); } @@ -35,7 +35,7 @@ SkTypeface* create_font(const char* name, SkTypeface::Style style) { SkTestFontData* fontData = NULL; const SubFont* sub; if (name) { - for (unsigned index = 0; index < gSubFontsCount; ++index) { + for (int index = 0; index < gSubFontsCount; ++index) { sub = &gSubFonts[index]; if (!strcmp(name, sub->fName) && sub->fStyle == style) { fontData = &sub->fFont; @@ -70,7 +70,7 @@ SkTypeface* create_font(const char* name, SkTypeface::Style style) { SkTypeface* resource_font(const char* name, SkTypeface::Style style) { const char* file = NULL; if (name) { - for (unsigned index = 0; index < gSubFontsCount; ++index) { + for (int index = 0; index < gSubFontsCount; ++index) { const SubFont& sub = gSubFonts[index]; if (!strcmp(name, sub.fName) && sub.fStyle == style) { file = sub.fFile; |