diff --git a/lib/libc/gdtoa/machdep_ldisQ.c b/lib/libc/gdtoa/machdep_ldisQ.c index 447b07f6abe2..e5cf6e63ad9d 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 1920c39bb5a2..0b61de653f7c 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; }