chiark / gitweb /
keymap: Fix parsing of hex scan codes in tables
authorMartin Pitt <martinpitt@gnome.org>
Fri, 19 Oct 2012 06:01:47 +0000 (08:01 +0200)
committerMartin Pitt <martinpitt@gnome.org>
Fri, 19 Oct 2012 06:01:47 +0000 (08:01 +0200)
commit3bb9434b69b8562117b8ec34b4498aa208907316
treeebbf3597247c3c6d69e9ff6474abfbba24fc071f
parent6e303b233beae8d189d5e4f8c58ad3fa534a087a
keymap: Fix parsing of hex scan codes in tables

Commit b1f87c76b1 changed sscanf from %i to %u, as scan codes are unsigned
numbers which can be > 0x7FFFFFFF. However, sscanf doesn't accept hexadecimal
numbers for %u. It works fine with %i, so revert this back.
src/udev/keymap/keymap.c