]> git.eshelyaron.com Git - emacs.git/commit
Port hbfont.c to GCC 9 with --enable-gcc-warnings
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 1 Jun 2019 19:07:48 +0000 (12:07 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 1 Jun 2019 19:07:48 +0000 (12:07 -0700)
commit0c22b52046748d178ed851faaaca08f3a72ab227
treee90e37b8fadde33e022ba18f840b48e09df2ef16
parent7febfc5cdc3a11bc5d0657d509417b27ea07c344
Port hbfont.c to GCC 9 with --enable-gcc-warnings

* src/hbfont.c (hbfont_shape): Use ptrdiff_t, not int,
for indexes that in theory might overflow int.
Add UNINIT to pacify GCC 9 and omit an unnecessary initialization.
src/hbfont.c