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
This commit is contained in:
parent
b753ef2ca9
commit
fd21c6b29f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user