2013-11-19 Joel Sherrill <joel.sherrill@oarcorp.com>
* libm/common/modfl.c: Add cast to remove compiler warning.
This commit is contained in:
parent
5b56e9b02b
commit
7dffe44b09
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue