diff options
Diffstat (limited to 'libm/float_wrappers.c')
-rw-r--r-- | libm/float_wrappers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libm/float_wrappers.c b/libm/float_wrappers.c index 948f6bc14..35887dde2 100644 --- a/libm/float_wrappers.c +++ b/libm/float_wrappers.c @@ -230,7 +230,7 @@ long_WRAPPER1(lround) float modff (float x, float *iptr) { double y, result; - result = modf( x, &y ); + result = modf( (double)x, &y ); *iptr = (float)y; return (float) result; } |