Previously, a pointer to an unsigned char was passed, causing a "pointer targets differ in signedness [-Wpointer-sign]" warning. --- wmload/wmload.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/wmload/wmload.c b/wmload/wmload.c index a7743ce..6e6199f 100644 --- a/wmload/wmload.c +++ b/wmload/wmload.c @@ -218,7 +218,7 @@ int main(int argc,char *argv[]) NormalGC = XCreateGC(dpy, Root, gcm, &gcv); if (ONLYSHAPE) { /* try to make shaped window here */ - pixmask = XCreateBitmapFromData(dpy, win, mask2_bits, mask2_width, + pixmask = XCreateBitmapFromData(dpy, win, (char *)mask2_bits, mask2_width, mask2_height); XShapeCombineMask(dpy, win, ShapeBounding, 0, 0, pixmask, ShapeSet); XShapeCombineMask(dpy, iconwin, ShapeBounding, 0, 0, pixmask, ShapeSet); -- 2.1.0 -- To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.