Avoids compiler warning:

    src/wmgtemp.c: In function ‘main’:
    src/wmgtemp.c:202:50: warning: pointer targets in passing argument 4 of 
‘openXwindow’ differ in signedness [-Wpointer-sign]
       openXwindow(argc, argv, wmgtemp_interface_xpm, 
wmgtemp_interface_mask_bits,
                                                  ^
    In file included from src/wmgtemp.c:15:0:
    /usr/include/libdockapp/wmgeneral.h:78:6: note: expected ‘char *’ but 
argument is of type ‘unsigned char *’
     void openXwindow(int argc, char *argv[], char **, char *, int, int);
          ^
---
 wmgtemp/src/wmgtemp-interface-mask.xbm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/wmgtemp/src/wmgtemp-interface-mask.xbm 
b/wmgtemp/src/wmgtemp-interface-mask.xbm
index aadcedd..6d21cf4 100644
--- a/wmgtemp/src/wmgtemp-interface-mask.xbm
+++ b/wmgtemp/src/wmgtemp-interface-mask.xbm
@@ -1,7 +1,7 @@
 /* Created with The GIMP */
 #define wmgtemp_interface_mask_width 62
 #define wmgtemp_interface_mask_height 62
-static unsigned char wmgtemp_interface_mask_bits[] = {
+static char wmgtemp_interface_mask_bits[] = {
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xfe, 0xff, 0xff, 0xff,
    0xff, 0xff, 0xff, 0x3f, 0xfe, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x3f,
    0xfe, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x3f, 0xfe, 0xff, 0xff, 0xff,
-- 
2.7.4


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.

Reply via email to