Module Name: xsrc Committed By: wiz Date: Sun Mar 30 16:39:42 UTC 2014
Modified Files: xsrc/external/mit/libX11/dist/src: ModMap.c Log Message: Add cast to fix -Wpointer-sign warning with clang. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 xsrc/external/mit/libX11/dist/src/ModMap.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: xsrc/external/mit/libX11/dist/src/ModMap.c diff -u xsrc/external/mit/libX11/dist/src/ModMap.c:1.3 xsrc/external/mit/libX11/dist/src/ModMap.c:1.4 --- xsrc/external/mit/libX11/dist/src/ModMap.c:1.3 Sun Mar 16 22:48:34 2014 +++ xsrc/external/mit/libX11/dist/src/ModMap.c Sun Mar 30 16:39:42 2014 @@ -83,7 +83,7 @@ XSetModifierMapping( req->length += mapSize >> 2; req->numKeyPerModifier = modifier_map->max_keypermod; - Data(dpy, modifier_map->modifiermap, mapSize); + Data(dpy, (char *)modifier_map->modifiermap, mapSize); (void) _XReply(dpy, (xReply *) & rep, (SIZEOF(xSetModifierMappingReply) - SIZEOF(xReply)) >> 2, xTrue);