diff options
Diffstat (limited to 'src/XGetFCtl.c')
-rw-r--r-- | src/XGetFCtl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/XGetFCtl.c b/src/XGetFCtl.c index 43afa00..28fab4d 100644 --- a/src/XGetFCtl.c +++ b/src/XGetFCtl.c @@ -95,7 +95,7 @@ XGetFeedbackControl( nbytes = (long)rep.length << 2; f = (xFeedbackState *) Xmalloc((unsigned)nbytes); if (!f) { - _XEatData(dpy, (unsigned long)nbytes); + _XEatDataWords(dpy, rep.length); goto out; } sav = f; |