makekeys: Fix build/target word size mismatch when cross-compiling
authorRan Benita <ran234@gmail.com>
Sat, 25 Feb 2012 19:09:28 +0000 (21:09 +0200)
committerRan Benita <ran234@gmail.com>
Sun, 26 Feb 2012 19:08:55 +0000 (21:08 +0200)
commit04e687c9da4cd643779fa4571c7e452c4f7e2dc7
treed7ec5af4f953d018ed91dde38c02250efc5df2cb
parent744527e9a9080368ffe21a92e6bfeb78102e68e9
makekeys: Fix build/target word size mismatch when cross-compiling

This matches commit 24283d40b1e4314c6647dda49d2a159833341a8b from
libX11:

    Since makekeys is built using build environment's compiler and
    runs natively, we have to make sure that the size of the
    Signature type is the same on both the native environment
    and the target, otherwise we get mismatches upon running X,
    and some LSB test failures (xts5).

    Use an unsigned 32-bit integer on all platforms.

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Reviewed-by: Daniel Stone <daniel@fooishbar.org>
Signed-off-by: Ran Benita <ran234@gmail.com>
makekeys/makekeys.c
src/keysym.c