commit | 7c207e7435ef66cbcfea854b34d8329e58384108 | [log] [tgz] |
---|---|---|
author | george@mozilla.com <george@mozilla.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Mon Aug 27 19:31:10 2012 +0000 |
committer | george@mozilla.com <george@mozilla.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Mon Aug 27 19:31:10 2012 +0000 |
tree | 579085232731ad6a9caaf18950f4737476a52b3a | |
parent | e7e4425f4aed49ae38240c2fd8e2752960a1d55a [diff] |
Explicitly cast to uin16_t to avoid an invalid implicit type narrowing. This was causing a build failure on OS X for us: SkOTTable_head.h:124:72: error: non-type template argument evaluates to -2, which cannot be narrowed to type 'uint16_t' (aka 'unsigned short') [-Wc++11-narrowing] Review URL: https://codereview.appspot.com/6482067 git-svn-id: http://skia.googlecode.com/svn/trunk@5290 2bbb7eff-a529-9590-31e7-b0007b416f81