musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/src/math/modfl.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012年07月02日 20:22:50 -0400
committerRich Felker <dalias@aerifal.cx>2012年07月02日 20:22:50 -0400
commitfe2df4ad3ea6080d01dea8d836cd4bbc896160fd (patch)
tree5f89081b21b1886b0e1ad1d29ccecff525dfc31b /src/math/modfl.c
parentcdf51506ce895286011ff0abe5434557845108ee (diff)
downloadmusl-fe2df4ad3ea6080d01dea8d836cd4bbc896160fd.tar.gz
fix invalid implicit pointer conversion in ld64 modfl
Diffstat (limited to 'src/math/modfl.c')
-rw-r--r--src/math/modfl.c 2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/math/modfl.c b/src/math/modfl.c
index f6d62444..bbfcdb8a 100644
--- a/src/math/modfl.c
+++ b/src/math/modfl.c
@@ -40,7 +40,7 @@
#if LDBL_MANT_DIG == 53 && LDBL_MAX_EXP == 1024
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
generated by cgit v1.2.1 (git 2.18.0) at 2025年10月04日 05:54:45 +0000

AltStyle によって変換されたページ (->オリジナル) /