From: Rich Felker Date: Tue, 3 Jul 2012 00:22:50 +0000 (-0400) Subject: fix invalid implicit pointer conversion in ld64 modfl X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=commitdiff_plain;h=fe2df4ad3ea6080d01dea8d836cd4bbc896160fd fix invalid implicit pointer conversion in ld64 modfl --- 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