diff options
Diffstat (limited to 'libXext/src/XSecurity.c')
-rw-r--r-- | libXext/src/XSecurity.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libXext/src/XSecurity.c b/libXext/src/XSecurity.c index f8c7da13b..ab17755c8 100644 --- a/libXext/src/XSecurity.c +++ b/libXext/src/XSecurity.c @@ -33,6 +33,7 @@ in this Software without prior written authorization from The Open Group. #include <X11/extensions/extutil.h> #include <X11/extensions/securproto.h> #include <X11/extensions/security.h> +#include "eat.h" static XExtensionInfo _Security_info_data; static XExtensionInfo *Security_info = &_Security_info_data; @@ -282,7 +283,7 @@ XSecurityGenerateAuthorization( } else { - _XEatData(dpy, (unsigned long) (rep.dataLength + 3) & ~3); + _XEatDataWords(dpy, rep.length); } UnlockDisplay (dpy); |