Fix signed/unsigned warning (#522)
authorEmil A Eklund (eae) <eae@eae.net>
Tue, 15 Aug 2017 23:25:18 +0000 (16:25 -0700)
committerBehdad Esfahbod <behdad@behdad.org>
Tue, 15 Aug 2017 23:25:18 +0000 (16:25 -0700)
commit91770e1c567d87fc513e8d39576e51c3853b1f23
tree25b2af2d345b7582b941fed4a9152cb1d482e1ab
parent587f15ece316df7c86f386518aba48a6a44c061d
Fix signed/unsigned warning (#522)

Change hb_buffer_diff to explicitly cast result of abs to unsigned when
comparing with position_fuzz to avoid unsafe signed/unsigned comparions
warnings on windows.
src/hb-buffer.cc