提交 fe2df4ad 编写于 作者: R Rich Felker

fix invalid implicit pointer conversion in ld64 modfl

上级 cdf51506
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
#if LDBL_MANT_DIG == 53 && LDBL_MAX_EXP == 1024 #if LDBL_MANT_DIG == 53 && LDBL_MAX_EXP == 1024
long double modfl(long double x, long double *iptr) long double modfl(long double x, long double *iptr)
{ {
return modf(x, iptr); return modf(x, (double *)iptr);
} }
#elif (LDBL_MANT_DIG == 64 || LDBL_MANT_DIG == 113) && LDBL_MAX_EXP == 16384 #elif (LDBL_MANT_DIG == 64 || LDBL_MANT_DIG == 113) && LDBL_MAX_EXP == 16384
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册