summaryrefslogtreecommitdiff
path: root/tests/trandom.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/trandom.c')
-rw-r--r--tests/trandom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/trandom.c b/tests/trandom.c
index 3503e78c4..f1172b1d3 100644
--- a/tests/trandom.c
+++ b/tests/trandom.c
@@ -185,7 +185,7 @@ main (int argc, char *argv[])
{
gmp_randstate_t s;
mpfr_t x;
- char *str = "0.1010111100000000000000000000000000000000E-32";
+ const char *str = "0.1010111100000000000000000000000000000000E-32";
int k;
gmp_randinit_default (s);