mirror of
				https://github.com/ArthurSonzogni/FTXUI.git
				synced 2025-10-31 18:48:11 +08:00 
			
		
		
		
	Fix MSVC possible loss of data warning (#645)
This commit is contained in:
		 Robin Lindén
					Robin Lindén
				
			
				
					committed by
					
						 ArthurSonzogni
						ArthurSonzogni
					
				
			
			
				
	
			
			
			 ArthurSonzogni
						ArthurSonzogni
					
				
			
						parent
						
							e2aff66b98
						
					
				
				
					commit
					2fb0b77f02
				
			| @@ -32,7 +32,7 @@ LinearGradientNormalized Normalize(LinearGradient gradient) { | ||||
|  | ||||
|   // Fill in the two extent, if not provided. | ||||
|   if (!gradient.stops.front().position) { | ||||
|     gradient.stops.front().position = 0; | ||||
|     gradient.stops.front().position = 0.f; | ||||
|   } | ||||
|   if (!gradient.stops.back().position) { | ||||
|     gradient.stops.back().position = 1.f; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user