From fef72c34237946427e744c9914a74eb0b5288a5d Mon Sep 17 00:00:00 2001 From: Moritz Lenz Date: Mon, 9 Jan 2012 06:50:09 +0100 Subject: [PATCH] fix mp_error_to_string in tommath.h --- tommath.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tommath.h b/tommath.h index a5fceec..1baff1f 100644 --- a/tommath.h +++ b/tommath.h @@ -190,7 +190,7 @@ typedef int ltm_prime_callback(unsigned char *dst, int len, void *dat); #define SIGN(m) ((m)->sign) /* error code to char* string */ -char *mp_error_to_string(int code); +const char *mp_error_to_string(int code); /* ---> init and deinit bignum functions <--- */ /* init a bignum */