From fd21c6b29fc62308aa615711d065c668c0740cc0 Mon Sep 17 00:00:00 2001 From: "mike@reedtribe.org" Date: Sun, 3 Mar 2013 03:22:43 +0000 Subject: [PATCH] try ~0U instead of ~0 to fix signed warning passing to size_t git-svn-id: http://skia.googlecode.com/svn/trunk@7946 2bbb7eff-a529-9590-31e7-b0007b416f81 --- src/ports/SkFontHost_mac_coretext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ports/SkFontHost_mac_coretext.cpp b/src/ports/SkFontHost_mac_coretext.cpp index 91b73383e8..f631995f05 100644 --- a/src/ports/SkFontHost_mac_coretext.cpp +++ b/src/ports/SkFontHost_mac_coretext.cpp @@ -1751,7 +1751,7 @@ int SkFontHost::GetTableTags(SkFontID fontID, SkFontTableTag tags[]) { // DEPRECATED size_t SkFontHost::GetTableSize(SkFontID fontID, SkFontTableTag tag) { SkTypeface* face = SkTypefaceCache::FindByID(fontID); - return face ? face->onGetTableData(tag, 0, ~0, NULL) : 0; + return face ? face->onGetTableData(tag, 0, ~0U, NULL) : 0; } // DEPRECATED