wmsun: Fix "overflow in implicit constant conversion" compiler warning.
This commit is contained in:
		
							parent
							
								
									11e5cd86da
								
							
						
					
					
						commit
						b919e2ddad
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -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);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,6 @@
 | 
				
			||||||
#define wmSun_mask_width 64
 | 
					#define wmSun_mask_width 64
 | 
				
			||||||
#define wmSun_mask_height 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,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,
 | 
					 0x00,0x00,0xf0,0xff,0xff,0xff,0xff,0xff,0xff,0x07,0xf0,0xff,0xff,0xff,0xff,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue