diff options
Diffstat (limited to 'console-tools/loadkmap.c')
-rw-r--r-- | console-tools/loadkmap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/console-tools/loadkmap.c b/console-tools/loadkmap.c index ce9b681..74a2378 100644 --- a/console-tools/loadkmap.c +++ b/console-tools/loadkmap.c @@ -29,7 +29,7 @@ int loadkmap_main(int argc, char **argv) { struct kbentry ke; int i, j, fd; - u_short ibuff[NR_KEYS]; + uint16_t ibuff[NR_KEYS]; char flags[MAX_NR_KEYMAPS]; char buff[7]; @@ -46,7 +46,7 @@ int loadkmap_main(int argc, char **argv) for (i = 0; i < MAX_NR_KEYMAPS; i++) { if (flags[i] == 1) { - xread(0, ibuff, NR_KEYS * sizeof(u_short)); + xread(0, ibuff, NR_KEYS * sizeof(uint16_t)); for (j = 0; j < NR_KEYS; j++) { ke.kb_index = j; ke.kb_table = i; |