diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2013-11-19 17:28:04 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2013-11-19 17:28:04 +0000 |
commit | 7dffe44b092eaa2f111eaf3703cb3ecf9213e21e (patch) | |
tree | a31f799f32061e71daf7bc200098f64c4148f1e6 /newlib/libm/common | |
parent | 5b56e9b02b58d2d95ab97c184daa29caf2147eed (diff) | |
download | cygnal-7dffe44b092eaa2f111eaf3703cb3ecf9213e21e.tar.gz cygnal-7dffe44b092eaa2f111eaf3703cb3ecf9213e21e.tar.bz2 cygnal-7dffe44b092eaa2f111eaf3703cb3ecf9213e21e.zip |
2013-11-19 Joel Sherrill <joel.sherrill@oarcorp.com>
* libm/common/modfl.c: Add cast to remove compiler warning.
Diffstat (limited to 'newlib/libm/common')
-rw-r--r-- | newlib/libm/common/modfl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libm/common/modfl.c b/newlib/libm/common/modfl.c index 32ccc9a7d..3b31c6a29 100644 --- a/newlib/libm/common/modfl.c +++ b/newlib/libm/common/modfl.c @@ -36,7 +36,7 @@ POSSIBILITY OF SUCH DAMAGE. long double modfl (long double x, long double *iptr) { - return modf(x, iptr); + return modf(x, (double *)iptr); } #endif |