diff options
author | Martin Pitt <martinpitt@gnome.org> | 2013-11-04 07:25:45 +0100 |
---|---|---|
committer | Martin Pitt <martinpitt@gnome.org> | 2013-11-04 07:25:45 +0100 |
commit | b151ca99332f08a6b9909baf94bc5667a589538b (patch) | |
tree | 0ebd640d2e2bf91b30d852edd0e7e9e3c1901c08 /src/udev/udev-ctrl.c | |
parent | e9718c12a4ca7f88324b636b36a4375aae64a1cc (diff) |
udev-builtin-keyboard: Fix large scan codes on 32 bit architectures
Use strtoul(), as scan codes are always positive. On 32 bit architectures
strtol gives wrong results:
strtol("fffffff0", &endptr, 16)
returns 2147483647 instead of 4294967280.
https://launchpad.net/bugs/1247676
Diffstat (limited to 'src/udev/udev-ctrl.c')
0 files changed, 0 insertions, 0 deletions