diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2019-07-02 11:06:33 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2019-07-02 11:06:33 +0000 |
commit | f085089fe5bb372e995fd3fcb4b75efab35f72d6 (patch) | |
tree | af1901040731aee6c8c56fab02dcebcd6953da0b /tests/tmul_2exp.c | |
parent | fe862ac8da48e134179089b5e2e7bfd284dd6a2f (diff) | |
download | mpfr-f085089fe5bb372e995fd3fcb4b75efab35f72d6.tar.gz |
[tests/*.c] Added missing "const" qualifier to "char *" when this
involves string literals (detected by using GCC's -Wwrite-strings
option, via the default -Wdiscarded-qualifiers warning).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13515 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tmul_2exp.c')
-rw-r--r-- | tests/tmul_2exp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tmul_2exp.c b/tests/tmul_2exp.c index cd3ac6b3c..961bbc2d9 100644 --- a/tests/tmul_2exp.c +++ b/tests/tmul_2exp.c @@ -258,7 +258,7 @@ overflow0 (mpfr_exp_t emax) mpfr_exp_t old_emax; mpfr_t x, y1, y2; int neg, r, op; - static char *sop[4] = { "mul_2ui", "mul_2si", "div_2ui", "div_2si" }; + static const char *sop[4] = { "mul_2ui", "mul_2si", "div_2ui", "div_2si" }; old_emax = mpfr_get_emax (); set_emax (emax); |