From cafbdbad279348e36adcd876651e9272e5ae9c73 Mon Sep 17 00:00:00 2001 From: Paulo Cesar Pereira de Andrade Date: Thu, 28 Feb 2008 15:50:27 -0300 Subject: [PATCH] WORD64 compile fix. This bug catched on a overview of the code. The code is wrong since the first git revision, so it seens that it has not been compiled with WORD64 for quite some time, there is also another interesting code in xkb/XKBRdBuf.c: ifdef WORD64 _XkbWriteCopyData32 Not Implemented Yet for sizeof(int)==8 endif and possibly there are other similar problems. --- src/XlibInt.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/XlibInt.c b/src/XlibInt.c index 8bf475d..d525c62 100644 --- a/src/XlibInt.c +++ b/src/XlibInt.c @@ -3191,7 +3191,7 @@ static doData32( void _XData32( Display *dpy, long *data, - unsigned len, + unsigned len) { char packbuffer[PACKBUFFERSIZE]; unsigned nunits = PACKBUFFERSIZE >> 2; -- 1.5.4.3