wmsun: Fix "overflow in implicit constant conversion" compiler warning.

This commit is contained in:
Doug Torrance 2015-06-14 17:04:42 -05:00 committed by Carlos R. Mafra
parent 11e5cd86da
commit b919e2ddad
2 changed files with 2 additions and 2 deletions

View file

@ -147,7 +147,7 @@ int main(int argc, char *argv[]) {
openXwindow(argc, argv, wmSun_master, wmSun_mask_bits, wmSun_mask_width, wmSun_mask_height);
openXwindow(argc, argv, wmSun_master, (char *)wmSun_mask_bits, wmSun_mask_width, wmSun_mask_height);

View file

@ -1,6 +1,6 @@
#define wmSun_mask_width 64
#define wmSun_mask_height 64
static char wmSun_mask_bits[] = {
static unsigned char wmSun_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,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0xf0,0xff,0xff,0xff,0xff,0xff,0xff,0x07,0xf0,0xff,0xff,0xff,0xff,