mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 05:40:04 +00:00 
			
		
		
		
	Fix narrowing conversion warning
This commit is contained in:
		
							parent
							
								
									1fe72dcc04
								
							
						
					
					
						commit
						6c89d4ca26
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -42,7 +42,7 @@ struct SaveConfigBlockEntry { | ||||||
| }; | }; | ||||||
| 
 | 
 | ||||||
| // TODO(Link Mauve): use a constexpr once MSVC starts supporting it.
 | // TODO(Link Mauve): use a constexpr once MSVC starts supporting it.
 | ||||||
| #define C(code) ((code)[0] | ((code)[1] << 8)) | #define C(code) (u16)((code)[0] | ((code)[1] << 8)) | ||||||
| 
 | 
 | ||||||
| static const std::array<u16, 187> country_codes = { | static const std::array<u16, 187> country_codes = { | ||||||
|     0,       C("JP"), 0,       0,       0,       0,       0,       0,       // 0-7
 |     0,       C("JP"), 0,       0,       0,       0,       0,       0,       // 0-7
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue