summaryrefslogtreecommitdiff
path: root/mpz/get_str.c
diff options
context:
space:
mode:
authorTorbjorn Granlund <tege@gmplib.org>2010-11-10 17:30:56 +0100
committerTorbjorn Granlund <tege@gmplib.org>2010-11-10 17:30:56 +0100
commitb39c8f7916a42675db4be28c411f17ee4db0575e (patch)
treeddab068ed5ac3a5181dcb1c336f546d1e70f33cc /mpz/get_str.c
parent8bd3c97538d43ab04b6ec662dfccb815561f234a (diff)
downloadgmp-b39c8f7916a42675db4be28c411f17ee4db0575e.tar.gz
Add 'const' to variables pointing to character strings.
Diffstat (limited to 'mpz/get_str.c')
-rw-r--r--mpz/get_str.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mpz/get_str.c b/mpz/get_str.c
index cce519365..613d210a7 100644
--- a/mpz/get_str.c
+++ b/mpz/get_str.c
@@ -36,7 +36,7 @@ mpz_get_str (char *res_str, int base, mpz_srcptr x)
char *return_str;
size_t str_size;
size_t alloc_size = 0;
- char *num_to_text;
+ const char *num_to_text;
int i;
TMP_DECL;