wmgtemp: Use 'char' instead of 'unsigned char' for bit mask.

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);
          ^
This commit is contained in:
Doug Torrance 2017-02-01 21:52:03 -05:00 committed by Carlos R. Mafra
parent 6f171bfde2
commit d14a0c0681

View file

@ -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,