aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ports
diff options
context:
space:
mode:
authorGravatar mike@reedtribe.org <mike@reedtribe.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-03-03 03:22:43 +0000
committerGravatar mike@reedtribe.org <mike@reedtribe.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-03-03 03:22:43 +0000
commitfd21c6b29fc62308aa615711d065c668c0740cc0 (patch)
tree2e15adec06baa2a7779f292af2a453a630e409ca /src/ports
parentb753ef2ca9567eaccd9bda3e22b4abd6b4adeb58 (diff)
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
Diffstat (limited to 'src/ports')
-rw-r--r--src/ports/SkFontHost_mac_coretext.cpp2
1 files changed, 1 insertions, 1 deletions
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