From d14a0c06815bcfbc2c6a1a97da6f2a6fd18813fc Mon Sep 17 00:00:00 2001 From: Doug Torrance Date: Wed, 1 Feb 2017 21:52:03 -0500 Subject: [PATCH] wmgtemp: Use 'char' instead of 'unsigned char' for bit mask. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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,