Fix signed vs. unsigned confusion in name sanitisation
authorDaniel Stone <daniels@collabora.com>
Mon, 26 Jun 2017 20:52:27 +0000 (21:52 +0100)
committerDaniel Stone <daniels@collabora.com>
Fri, 3 Aug 2018 15:17:10 +0000 (16:17 +0100)
commit5440aaa5222b02275b4fd982f5326c92c072982b
tree1aa036c623d32e5674f32673e667fac4c4d71dd8
parent4fcbc47059aa6c714fa87bc24115edcad86ca5bb
Fix signed vs. unsigned confusion in name sanitisation

Don't try to divide through a signed char when indexing an array, lest
ye try to index off the start of it.

Signed-off-by: Daniel Stone <daniels@collabora.com>
src/keymap-priv.c