summaryrefslogtreecommitdiff
path: root/src/input.c
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremyhu@apple.com>2012-03-08 01:19:53 -0800
committerJeremy Huddleston <jeremyhu@apple.com>2012-03-08 01:19:53 -0800
commit83e1aec8cfa59bd016912c6e5f22ef32408637b7 (patch)
tree63594b0a0eef288fa1491c50a85be1a4e7a23b0a /src/input.c
parente123277d10337a1c3b853118df0d1becdddf3b77 (diff)
Silence a -Wincompatible-pointer-types because we know better.
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
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;