[Xorg] [Bug 285] New: XSelectExtensionEvent does not work on 64-Bit machines
bugzilla-daemon at pdx.freedesktop.org
bugzilla-daemon at pdx.freedesktop.org
Mon Mar 8 02:42:37 PST 2004
http://pdx.freedesktop.org/cgi-bin/bugzilla/show_bug.cgi?id=285
Summary: XSelectExtensionEvent does not work on 64-Bit machines
Product: xorg
Version: unspecified
Platform: DEC
OS/Version: OSF/1
Status: NEW
Severity: critical
Priority: P2
Component: xlib
AssignedTo: xorg at freedesktop.org
ReportedBy: luik at orthogon.de
XEventClass is typedef'd as an "unsigned long", therefore, on an
Alpha, this is a 64-bit long cardinal. On the other hand, the X11
protocol uses a CARD32 to represent the event class. Therefore,
library calls must properly convert from "unsigned long" to "CARD32".
XSelect.c
This is not properly done in lib/Xi/XSelect.c, where `Data' is used to
copy from client data to the X request. This is incorrect. `Data32'
must be used instead, as it is already done in all other places,
e.g. in lib/Xi/XChgProp.c
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the xorg
mailing list