aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/X11/OpenDis.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2013-03-02 16:56:16 -0800
committerUlrich Sibiller <uli42@gmx.de>2016-10-12 09:34:38 +0200
commit05b72b8da17d6077b085608c128ec9e698473bb6 (patch)
tree937b878302e892ebf9de2464a523cf8ecaf8edea /nx-X11/lib/X11/OpenDis.c
parent306ca006a54c5f74a6fe90eb794efa06ff33b259 (diff)
downloadnx-libs-05b72b8da17d6077b085608c128ec9e698473bb6.tar.gz
nx-libs-05b72b8da17d6077b085608c128ec9e698473bb6.tar.bz2
nx-libs-05b72b8da17d6077b085608c128ec9e698473bb6.zip
Convert more _XEatData callers to _XEatDataWords
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> Signed-off-by: Julien Cristau <jcristau@debian.org> Backported-to-NX-by: Ulrich Sibiller <uli42@gmx.de>
Diffstat (limited to 'nx-X11/lib/X11/OpenDis.c')
-rw-r--r--nx-X11/lib/X11/OpenDis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nx-X11/lib/X11/OpenDis.c b/nx-X11/lib/X11/OpenDis.c
index a17b8b161..a4b80633b 100644
--- a/nx-X11/lib/X11/OpenDis.c
+++ b/nx-X11/lib/X11/OpenDis.c
@@ -788,7 +788,7 @@ fallback_success:
dpy->xdefaults[reply.nItems] = '\0';
}
else if (reply.propertyType != None)
- _XEatData(dpy, reply.nItems * (reply.format >> 3));
+ _XEatDataWords(dpy, reply.length);
}
#if !USE_XCB
DeqAsyncHandler(dpy, &async);