summaryrefslogtreecommitdiff
path: root/tests/tsubnormal.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tsubnormal.c')
-rw-r--r--tests/tsubnormal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tsubnormal.c b/tests/tsubnormal.c
index 5c6838026..ca1c8d3fd 100644
--- a/tests/tsubnormal.c
+++ b/tests/tsubnormal.c
@@ -84,7 +84,7 @@ check1 (void)
mpfr_neg (x, x, GMP_RNDN);
if (mpfr_cmp_str (x, tab[i].out, 2, GMP_RNDN) != 0)
{
- char *sgn = s ? "-" : "";
+ const char *sgn = s ? "-" : "";
printf ("Error for i = %d (old_inex = %d), k = %d, x = %s%s\n"
"Expected: %s%s\nGot: ", i, old_inex, k,
sgn, tab[i].in, sgn, tab[i].out);