diff options
Diffstat (limited to 'libX11/include')
-rw-r--r-- | libX11/include/X11/Xlibint.h | 2 |
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
|