aboutsummaryrefslogtreecommitdiff
path: root/nx-X11
diff options
context:
space:
mode:
authorwalter harms <wharms@bfs.de>2016-04-26 16:31:27 +0200
committerUlrich Sibiller <u.sibiller@science-computing.de>2016-10-20 10:16:35 +0200
commit21405f62ba6fe9e14db9b0e3b75b55e150614b2c (patch)
tree208c4481ebc989e61bc41eda5551e44239026c91 /nx-X11
parent3f9ebf33d49b6e92b4a6a88adfa5de0dd7471fae (diff)
downloadnx-libs-21405f62ba6fe9e14db9b0e3b75b55e150614b2c.tar.gz
nx-libs-21405f62ba6fe9e14db9b0e3b75b55e150614b2c.tar.bz2
nx-libs-21405f62ba6fe9e14db9b0e3b75b55e150614b2c.zip
fix: warning: pointer targets in passing argument 2 of '_XSend' differ in signedness [-Wpointer-sign]
fix signess warning by casting Signed-off-by: walter harms <wharms@bfs.de>
Diffstat (limited to 'nx-X11')
-rw-r--r--nx-X11/lib/X11/ModMap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nx-X11/lib/X11/ModMap.c b/nx-X11/lib/X11/ModMap.c
index 49a5d08e8..27f3a8d29 100644
--- a/nx-X11/lib/X11/ModMap.c
+++ b/nx-X11/lib/X11/ModMap.c
@@ -39,7 +39,7 @@ XGetModifierMapping(register Display *dpy)
XModifierKeymap *res;
LockDisplay(dpy);
- GetEmptyReq(GetModifierMapping, req);
+ GetEmptyReq(GetModifierMapping, req); // Never used ?
(void) _XReply (dpy, (xReply *)&rep, 0, xFalse);
if (rep.length < (INT_MAX >> 2) &&
@@ -84,7 +84,7 @@ XSetModifierMapping(
req->length += mapSize >> 2;
req->numKeyPerModifier = modifier_map->max_keypermod;
- Data(dpy, modifier_map->modifiermap, mapSize);
+ Data(dpy, (const char *)modifier_map->modifiermap, mapSize);
(void) _XReply(dpy, (xReply *) & rep,
(SIZEOF(xSetModifierMappingReply) - SIZEOF(xReply)) >> 2, xTrue);