summaryrefslogtreecommitdiff
path: root/src/vasprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vasprintf.c')
-rw-r--r--src/vasprintf.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/vasprintf.c b/src/vasprintf.c
index 4238923bf..08855d101 100644
--- a/src/vasprintf.c
+++ b/src/vasprintf.c
@@ -1648,12 +1648,12 @@ partition_number (struct number_parts *np, mpfr_srcptr p,
/* compute the number of characters to be written verifying it is not too
much */
-#define INCR_TOTAL(V) \
+#define INCR_TOTAL(v) \
do { \
- MPFR_ASSERTD ((V) >= 0); \
- if (MPFR_UNLIKELY ((V) > INT_MAX)) \
+ MPFR_ASSERTD ((v) >= 0); \
+ if (MPFR_UNLIKELY ((v) > INT_MAX)) \
goto error; \
- total += (V); \
+ total += (v); \
if (MPFR_UNLIKELY (total > INT_MAX)) \
goto error; \
} while (0)