aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2010-09-15 21:05:11 +0000
committermarha <marha@users.sourceforge.net>2010-09-15 21:05:11 +0000
commitc916660518820a074981c11f88f0c8039332c83f (patch)
tree8767db225fe39112a1c59b7b27811a34b638603f
parentcc9377f72bba077839e2848641e43e169f9fcd54 (diff)
parent07a442a9655bed6389f834ff04b4b491f5ff3b4c (diff)
downloadvcxsrv-c916660518820a074981c11f88f0c8039332c83f.tar.gz
vcxsrv-c916660518820a074981c11f88f0c8039332c83f.tar.bz2
vcxsrv-c916660518820a074981c11f88f0c8039332c83f.zip
svn merge ^/branches/released .
-rw-r--r--libX11/include/X11/Xlibint.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libX11/include/X11/Xlibint.h b/libX11/include/X11/Xlibint.h
index ef2ccd109..8a06f6d6a 100644
--- a/libX11/include/X11/Xlibint.h
+++ b/libX11/include/X11/Xlibint.h
@@ -626,7 +626,7 @@ extern void _XFlushGCCache(Display *dpy, GC gc);
if (dpy->bufptr + (n) > dpy->bufmax) \
_XFlush (dpy); \
ptr = (type) dpy->bufptr; \
- (void)ptr; \
+ memset(ptr, '\0', n); \
dpy->bufptr += (n);
#ifdef WORD64