[309/906] Replay: Fix callbacks passed over XEvents on 64 bit architectures
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 3 Feb 2009 17:58:00 +0000 (18:58 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:31:21 +0000 (19:31 +0000)
commit10494006b8bdd9419458115124a162e0617a82e7
tree376e70bba015048c233ae8a1f16b057336358323
parentc83cbcd398277a069df1cdf7dec70bf5e4293648
[309/906] Replay: Fix callbacks passed over XEvents on 64 bit architectures

Althought the XEvent's xclient.data.l array is an array of
longs they will be constrained to 32 bit by the X11 protocol.
On 64 bit architectures use two elements of the array to store
one pointer.
This fixes segfaults that happen at least for every example
on startup.
gst-libs/gst/gl/gstglwindow_x11.c