summaryrefslogtreecommitdiff
path: root/vasprintf.c
diff options
context:
space:
mode:
authorthevenyp <thevenyp@280ebfd0-de03-0410-8827-d642c229c3f4>2008-02-15 15:58:21 +0000
committerthevenyp <thevenyp@280ebfd0-de03-0410-8827-d642c229c3f4>2008-02-15 15:58:21 +0000
commitdad2bf1ef4af25fe87fe24f7ac295fb292987d6d (patch)
tree665ae90d9ea0349cf5479301a1a7e6f33d37ec0e /vasprintf.c
parentdd24e1adc3d36db1f5c546da564a0d84ccc281f5 (diff)
downloadmpfr-dad2bf1ef4af25fe87fe24f7ac295fb292987d6d.tar.gz
fix typo
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5289 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'vasprintf.c')
-rw-r--r--vasprintf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vasprintf.c b/vasprintf.c
index 46a54ea2e..2ab314235 100644
--- a/vasprintf.c
+++ b/vasprintf.c
@@ -1596,7 +1596,7 @@ partition_number (struct number_parts *np, mpfr_srcptr p,
if (np->thousands_sep)
/* ' flag, style f and the thousands separator in current locale is not
reduced to the null character */
- total += (np->ip_size + np->trailing_zeros) / 3;
+ total += (np->ip_size + np->ip_trailing_zeros) / 3;
if (MPFR_UNLIKELY (total < 0 || total > INT_MAX))
goto error;
if (np->point)