diff --git a/src/common/extended.c b/src/common/extended.c index eb4089e4ab..1e9b9c7b8e 100644 --- a/src/common/extended.c +++ b/src/common/extended.c @@ -81,7 +81,7 @@ # define FloatToUnsigned(f) ((wxUint32)(f)) # define UnsignedToFloat(u) ((wxFloat64)(u)) #else /*applec*/ -# define FloatToUnsigned(f) ((wxUint32)((((wxInt32)((f) - 2147483648.0)) + 2147483647L) + 1)) +# define FloatToUnsigned(f) ((wxUint32)(((wxInt32)((f) - 2147483648.0)) + 2147483647L) + 1) # define UnsignedToFloat(u) (((wxFloat64)((wxInt32)((u) - 2147483647L - 1))) + 2147483648.0) #endif /*applec*/