aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2016-10-16 00:41:11 +0200
committerUlrich Sibiller <u.sibiller@science-computing.de>2016-10-20 10:16:35 +0200
commit0a28292ec986070edccc8fc1eea4c3d3e280e102 (patch)
treee43de86eb0e0889cc9d75c2a849f3fb408941490 /nx-X11/programs
parent057ddde08e30bf79440a8c983090a1cf1bd4de9d (diff)
downloadnx-libs-0a28292ec986070edccc8fc1eea4c3d3e280e102.tar.gz
nx-libs-0a28292ec986070edccc8fc1eea4c3d3e280e102.tar.bz2
nx-libs-0a28292ec986070edccc8fc1eea4c3d3e280e102.zip
xkb.c: fix 'assignment makes integer from pointer without a cast'
xkb.c: In function ‘_GetCountedString’: xkb.c:4405:8: warning: assignment makes integer from pointer without a cast [enabled by default] len= (CARD16 *)wire;
Diffstat (limited to 'nx-X11/programs')
-rw-r--r--nx-X11/programs/Xserver/xkb/xkb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nx-X11/programs/Xserver/xkb/xkb.c b/nx-X11/programs/Xserver/xkb/xkb.c
index 3e4cf4acd..a78541e75 100644
--- a/nx-X11/programs/Xserver/xkb/xkb.c
+++ b/nx-X11/programs/Xserver/xkb/xkb.c
@@ -4402,7 +4402,7 @@ char * wire, *next;
CARD16 len;
wire= *wire_inout;
- len= (CARD16 *)wire;
+ len = *(CARD16 *) wire;
if (client->swapped) {
swaps(&len);
}