Commit 0a28292e authored by Ulrich Sibiller's avatar Ulrich Sibiller Committed by Ulrich Sibiller

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;
parent 057ddde0
......@@ -4402,7 +4402,7 @@ char * wire, *next;
CARD16 len;
wire= *wire_inout;
len= (CARD16 *)wire;
len = *(CARD16 *) wire;
if (client->swapped) {
swaps(&len);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment