summaryrefslogtreecommitdiff
path: root/src/input.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/input.c')
-rw-r--r--src/input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input.c b/src/input.c
index 5c44c7f..cfb54ac 100644
--- a/src/input.c
+++ b/src/input.c
@@ -147,7 +147,7 @@ NestedInputUpdateKeymap(DeviceIntPtr device) {
#ifdef _XSERVER64
{
- unsigned long *keymap64 = keySyms.map;
+ unsigned long *keymap64 = (unsigned long *)keySyms.map;
size_t len = (keySyms.maxKeyCode - keySyms.minKeyCode + 1) * keySyms.mapWidth;
size_t i;