summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/gdtoa/machdep_ldisQ.c2
-rw-r--r--lib/libc/gdtoa/machdep_ldisx.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/gdtoa/machdep_ldisQ.c b/lib/libc/gdtoa/machdep_ldisQ.c
index 447b07f..e5cf6e6 100644
--- a/lib/libc/gdtoa/machdep_ldisQ.c
+++ b/lib/libc/gdtoa/machdep_ldisQ.c
@@ -40,6 +40,6 @@ strtold(const char * __restrict s, char ** __restrict sp)
{
long double result;
- strtopQ(s, sp, result);
+ strtopQ(s, sp, &result);
return result;
}
diff --git a/lib/libc/gdtoa/machdep_ldisx.c b/lib/libc/gdtoa/machdep_ldisx.c
index 1920c39..0b61de6 100644
--- a/lib/libc/gdtoa/machdep_ldisx.c
+++ b/lib/libc/gdtoa/machdep_ldisx.c
@@ -40,6 +40,6 @@ strtold(const char * __restrict s, char ** __restrict sp)
{
long double result;
- strtopx(s, sp, result);
+ strtopx(s, sp, &result);
return result;
}
OpenPOWER on IntegriCloud