aboutsummaryrefslogtreecommitdiff
path: root/libX11/include/X11/Xlibint.h
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-05-09 10:10:32 +0000
committermarha <marha@users.sourceforge.net>2011-05-09 10:10:32 +0000
commit5bb5135182a1a50b1b6659d8aa5168ebfbe71979 (patch)
tree7c8f16bf0832a90195bdbc4e8a9477158e0acf9b /libX11/include/X11/Xlibint.h
parentc721bc9b176ec37d8b80a92c89840658f8f6c458 (diff)
parent43b2398ee28e9144fd51eb9994d67c4c9a198c9c (diff)
downloadvcxsrv-5bb5135182a1a50b1b6659d8aa5168ebfbe71979.tar.gz
vcxsrv-5bb5135182a1a50b1b6659d8aa5168ebfbe71979.tar.bz2
vcxsrv-5bb5135182a1a50b1b6659d8aa5168ebfbe71979.zip
svn merge ^/branches/released .
Diffstat (limited to 'libX11/include/X11/Xlibint.h')
-rw-r--r--libX11/include/X11/Xlibint.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libX11/include/X11/Xlibint.h b/libX11/include/X11/Xlibint.h
index 39ca4da03..0a4f75df8 100644
--- a/libX11/include/X11/Xlibint.h
+++ b/libX11/include/X11/Xlibint.h
@@ -572,6 +572,7 @@ extern LockInfoPtr _Xglobal_lock;
#endif
#endif
+#ifndef __clang_analyzer__
#define SetReqLen(req,n,badlen) \
if ((req->length + n) > (unsigned)65535) { \
if (dpy->bigreq_size) { \
@@ -582,6 +583,10 @@ extern LockInfoPtr _Xglobal_lock;
} \
} else \
req->length += n
+#else
+#define SetReqLen(req,n,badlen) \
+ req->length += n
+#endif
#define SyncHandle() \
if (dpy->synchandler) (*dpy->synchandler)(dpy)