commit | e45d84173a0cd25f6df1cc51cf8bb06f856a00ad | [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 | f19033e9278fdd1b134748b41fe1ad82fcac8e8b | |
parent | f71764d3272e28817cb5025d2b503aa0170ef9b8 [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/src@5290 2bbb7eff-a529-9590-31e7-b0007b416f81