Explicitly cast to uin16_t to avoid an invalid implicit type narrowing.
authorgeorge@mozilla.com <george@mozilla.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Mon, 27 Aug 2012 19:31:10 +0000 (19:31 +0000)
committergeorge@mozilla.com <george@mozilla.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Mon, 27 Aug 2012 19:31:10 +0000 (19:31 +0000)
commit7c207e7435ef66cbcfea854b34d8329e58384108
tree579085232731ad6a9caaf18950f4737476a52b3a
parente7e4425f4aed49ae38240c2fd8e2752960a1d55a
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
src/sfnt/SkOTTable_head.h