libkeymap: fix kmap on big-endian machines
authorAaro Koskinen <aaro.koskinen@iki.fi>
Fri, 14 Mar 2014 23:32:56 +0000 (01:32 +0200)
committerAlexey Gladkov <gladkov.alexey@gmail.com>
Sat, 15 Mar 2014 10:56:51 +0000 (14:56 +0400)
commit363185b72ccb5279fa950a378ebd93c082078d39
tree43a51d061b22c86caf32568cb1ec84c405bec062
parentaa34f1cc987353cb968d043437b1a1459d779ce6
libkeymap: fix kmap on big-endian machines

Currently "loadkeys" does not work properly (no keys are ever changed)
on big-endian machines (e.g. SPARC and other classic hardware)
due to incorrect typing. The patch fixes this.

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
src/libkeymap/kmap.c