2013-11-19 Joel Sherrill <joel.sherrill@oarcorp.com>

* libm/common/modfl.c: Add cast to remove compiler warning.
This commit is contained in:
Joel Sherrill 2013-11-19 17:28:04 +00:00
parent 5b56e9b02b
commit 7dffe44b09
2 changed files with 5 additions and 1 deletions

View File

@ -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> 2013-11-19 Terraneo Federico <fede.tft@hotmail.it>
* libc/posix/closedir.c: Fix use after free. * libc/posix/closedir.c: Fix use after free.

View File

@ -36,7 +36,7 @@ POSSIBILITY OF SUCH DAMAGE.
long double long double
modfl (long double x, long double *iptr) modfl (long double x, long double *iptr)
{ {
return modf(x, iptr); return modf(x, (double *)iptr);
} }
#endif #endif