From 6bcf869c263d3dab8f75a290754e93bc7853ac96 Mon Sep 17 00:00:00 2001 From: nickysn Date: Mon, 2 May 2016 14:33:26 +0000 Subject: [PATCH] * fixed the definition of XEventClass on 64-bit targets git-svn-id: trunk@33616 - --- packages/x11/src/xi.pp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/packages/x11/src/xi.pp b/packages/x11/src/xi.pp index f3531e978b..e6817bf490 100644 --- a/packages/x11/src/xi.pp +++ b/packages/x11/src/xi.pp @@ -338,12 +338,15 @@ const { Make XEventClass be a CARD32 for 64 bit servers. Don't affect client definition of XEventClass since that would be a library interface change. See the top of X.h for more _XSERVER64 magic. + + But, don't actually use the CARD32 type. We can't get it defined here + without polluting the namespace. } type {$ifdef _XSERVER64} - XEventClass = CARD32; + XEventClass = cuint; {$ELSE} - XEventClass = Longword; + XEventClass = culong; {$ENDIF} TXEventClass = XEventClass;