mirror of
				https://github.com/ArthurSonzogni/FTXUI.git
				synced 2025-10-31 18:48:11 +08:00 
			
		
		
		
	Reduce amount of warnings with pedantic compiler (#291)
This commit is contained in:
		 Vladislav Nepogodin
					Vladislav Nepogodin
				
			
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			 GitHub
						GitHub
					
				
			
						parent
						
							aea67743d4
						
					
				
				
					commit
					d549cdabb0
				
			| @@ -124,7 +124,7 @@ struct Canvas { | ||||
|   }; | ||||
|  | ||||
|   struct XYHash { | ||||
|     size_t operator()(const XY& xy) const { return xy.x * 1024 + xy.y; } | ||||
|     size_t operator()(const XY& xy) const { return static_cast<size_t>(xy.x * 1024 + xy.y); } | ||||
|   }; | ||||
|  | ||||
|   int width_ = 0; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user