diff options
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 { |