wmifs: Fix "overflow in implicit constant conversion" compiler warnings.

This commit is contained in:
Doug Torrance 2015-05-27 17:33:16 -05:00 committed by Carlos R. Mafra
parent 6f26dd2f99
commit c7834d29fd
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
#define wmifs_mask_width 64
#define wmifs_mask_height 64
static char wmifs_mask_bits[] = {
static unsigned char wmifs_mask_bits[] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

View file

@ -442,7 +442,7 @@ void wmifs_routine(int argc, char **argv)
parse_rcfile("/etc/wmifsrc.fixed", wmifs_keys);
openXwindow(argc, argv, wmifs_master_xpm, wmifs_mask_bits, wmifs_mask_width, wmifs_mask_height);
openXwindow(argc, argv, wmifs_master_xpm, (char*)wmifs_mask_bits, wmifs_mask_width, wmifs_mask_height);
/* > Button */
AddMouseRegion(0, 5, 5, 35, 15);