diff options
author | 2013-10-14 21:53:24 +0000 | |
---|---|---|
committer | 2013-10-14 21:53:24 +0000 | |
commit | adacc7067ad617cdc7bbef39192ca80f4b4d27f9 (patch) | |
tree | 3f6a13154d08c42648ccea82257f37f7c321b00e /src/gpu/SkGrFontScaler.cpp | |
parent | 04b57f87ab6789f7fc302eda8a993d88d4feea8f (diff) |
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
Diffstat (limited to 'src/gpu/SkGrFontScaler.cpp')
-rw-r--r-- | src/gpu/SkGrFontScaler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/SkGrFontScaler.cpp b/src/gpu/SkGrFontScaler.cpp index 3c42af83df..651486665b 100644 --- a/src/gpu/SkGrFontScaler.cpp +++ b/src/gpu/SkGrFontScaler.cpp @@ -52,7 +52,7 @@ bool SkGrDescKey::lt(const GrKey& rh) const { const SkDescriptor* srcDesc = ((const SkGrDescKey*)&rh)->fDesc; size_t lenLH = fDesc->getLength(); size_t lenRH = srcDesc->getLength(); - int cmp = memcmp(fDesc, srcDesc, SkMin32(lenLH, lenRH)); + int cmp = memcmp(fDesc, srcDesc, SkTMin<size_t>(lenLH, lenRH)); if (0 == cmp) { return lenLH < lenRH; } else { |