mirror of
				https://github.com/eledio-devices/thirdparty-ArduinoJson.git
				synced 2025-10-31 16:14:11 +01:00 
			
		
		
		
	Fix GCC 4.8.5 warning
This commit is contained in:
		| @@ -27,9 +27,8 @@ struct FloatParts { | ||||
|     exponent = normalize(value); | ||||
|  | ||||
|     integral = uint32_t(value); | ||||
|     TFloat remainder = value - TFloat(integral); | ||||
|     TFloat remainder = (value - TFloat(integral)) * TFloat(maxDecimalPart); | ||||
|  | ||||
|     remainder *= maxDecimalPart; | ||||
|     decimal = uint32_t(remainder); | ||||
|     remainder = remainder - TFloat(decimal); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user