summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2017-05-22 15:07:36 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2017-05-22 15:07:36 +0000
commit41c935fc6efe582ca7e20606f1f8a78288441478 (patch)
treef028a85a51e2e925a685e16c570b9f10df24826b
parenta9767b7fcddd407fcdda07002e57dbce497e09c5 (diff)
downloadmpfr-41c935fc6efe582ca7e20606f1f8a78288441478.tar.gz
[src/vasprintf.c] In a macro definition, changed a parameter to
lowercase so that it doesn't look like a constant to mpfrlint. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11521 280ebfd0-de03-0410-8827-d642c229c3f4
-rw-r--r--src/vasprintf.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/vasprintf.c b/src/vasprintf.c
index 89181692a..b1709fb19 100644
--- a/src/vasprintf.c
+++ b/src/vasprintf.c
@@ -1818,12 +1818,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)