Permalink
Browse files

Merge pull request #5 from moritz/fix-compilation

fix mp_error_to_string in tommath.h
  • Loading branch information...
2 parents abb79eb + fef72c3 commit 4493d85162afa9a2431b4883ea93739f1e72009c @sjaeckel sjaeckel committed Jan 9, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 tommath.h
View
@@ -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 */

0 comments on commit 4493d85

Please sign in to comment.