Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2013-11-19 21:28:04 +0400
committerJoel Sherrill <joel.sherrill@oarcorp.com>2013-11-19 21:28:04 +0400
commit7dffe44b092eaa2f111eaf3703cb3ecf9213e21e (patch)
treea31f799f32061e71daf7bc200098f64c4148f1e6
parent5b56e9b02b58d2d95ab97c184daa29caf2147eed (diff)
2013-11-19 Joel Sherrill <joel.sherrill@oarcorp.com>
* libm/common/modfl.c: Add cast to remove compiler warning.
-rw-r--r--newlib/ChangeLog4
-rw-r--r--newlib/libm/common/modfl.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index 16e648df3..6fd16e65c 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,3 +1,7 @@
+2013-11-19 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * libm/common/modfl.c: Add cast to remove compiler warning.
+
2013-11-19 Terraneo Federico <fede.tft@hotmail.it>
* libc/posix/closedir.c: Fix use after free.
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