Re: [PATCH] 64-bit issues in libx11

2009-02-21 Thread Maarten Maathuis
Committed as http://cgit.freedesktop.org/xorg/lib/libX11/commit/?id=da6bbca07c796c69172a649405474f03bee66754 Please provide git patches in the future (it's easier for both sides). Maarten. On Fri, Feb 20, 2009 at 3:10 AM, Emilio Jesús Gallego Arias egall...@babel.ls.fi.upm.es wrote: It seems

Re: [PATCH] 64-bit issues in libx11

2009-02-20 Thread Maarten Maathuis
While we're on this subject, i have a question as well (same file, line 175). if(event) widen(event_sequence, event-full_sequence); What purpose does that serve? Maarten. ___ xorg mailing list xorg@lists.freedesktop.org

[PATCH] 64-bit issues in libx11

2009-02-19 Thread Emilio Jesús Gallego Arias
It seems xcb/x11 have some bugs related to sizeof(long), in concrete using 32 bit variables for dpy-request et al in AMD64. This patch fixes some crashes for me. diff -ur libx11-1.1.99.2/src/xcb_io.c libx11-1.1.99.2-a/src/xcb_io.c --- libx11-1.1.99.2/src/xcb_io.c2008-11-04