projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cdf5150
)
fix invalid implicit pointer conversion in ld64 modfl
author
Rich Felker
<dalias@aerifal.cx>
Tue, 3 Jul 2012 00:22:50 +0000
(20:22 -0400)
committer
Rich Felker
<dalias@aerifal.cx>
Tue, 3 Jul 2012 00:22:50 +0000
(20:22 -0400)
src/math/modfl.c
patch
|
blob
|
history
diff --git
a/src/math/modfl.c
b/src/math/modfl.c
index f6d624446c8dfd2b5dce4eeb6074f591284715fe..bbfcdb8a8c37c4094da847d1e5ef864add7affd8 100644
(file)
--- 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