summaryrefslogtreecommitdiffstats
path: root/lib/libc/gdtoa
diff options
context:
space:
mode:
authordas <das@FreeBSD.org>2003-04-09 05:58:43 +0000
committerdas <das@FreeBSD.org>2003-04-09 05:58:43 +0000
commit97b1575d6158507a0f6342487ecaedc17481a701 (patch)
tree7fa7027555272ff01de2f97dd326cc62f9c7689a /lib/libc/gdtoa
parent6067525913c2a13f7785f6d88dc81df85cde5812 (diff)
downloadFreeBSD-src-97b1575d6158507a0f6342487ecaedc17481a701.zip
FreeBSD-src-97b1575d6158507a0f6342487ecaedc17481a701.tar.gz
/strtopx/ s/result/&result/
This is the version I *meant* to commit last week.
Diffstat (limited to 'lib/libc/gdtoa')
-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