Browse Source

fix invalid implicit pointer conversion in ld64 modfl

Rich Felker 12 years ago
parent
commit
fe2df4ad3e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/math/modfl.c

+ 1 - 1
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