wmifs: Fix "overflow in implicit constant conversion" compiler warnings.
This commit is contained in:
parent
6f26dd2f99
commit
c7834d29fd
|
@ -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,
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue