Fix unary minus operator applied to unsigned int
authorBehdad Esfahbod <behdad@behdad.org>
Thu, 21 May 2015 21:00:15 +0000 (14:00 -0700)
committerBehdad Esfahbod <behdad@behdad.org>
Thu, 21 May 2015 21:00:15 +0000 (14:00 -0700)
commitf1b44303df0712b433e35e1e1e75115c353b279e
treecc14f7188cb367a69107b066fdfdd3ef7f9e05ca
parent1ae6cdb365c15405500d4f50ec98016dde23a26b
Fix unary minus operator applied to unsigned int

Applying unary minus operator to unsigned int causes the following
warning on MSVS:

  warning C4146: unary minus operator applied to unsigned type, result still unsigned

Based on patch from Koji Ishi.

Fixes https://github.com/behdad/harfbuzz/pull/110
src/hb-ot-font.cc