diff options
Diffstat (limited to 'X11')
-rw-r--r-- | X11/Xlibint.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/X11/Xlibint.h b/X11/Xlibint.h index ef2ccd109..8a06f6d6a 100644 --- a/X11/Xlibint.h +++ b/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
|