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:
-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