summaryrefslogtreecommitdiffstats
path: root/libtommath/tommath.h
diff options
context:
space:
mode:
Diffstat (limited to 'libtommath/tommath.h')
-rw-r--r--libtommath/tommath.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libtommath/tommath.h b/libtommath/tommath.h
index da0e473..3865949 100644
--- a/libtommath/tommath.h
+++ b/libtommath/tommath.h
@@ -62,7 +62,7 @@ extern "C" {
typedef signed long long long64;
#endif
- typedef uint64_t mp_digit;
+ typedef ulong64 mp_digit;
#if defined(_WIN32)
typedef unsigned __int128 mp_word;
#elif defined(__GNUC__)
@@ -84,7 +84,7 @@ extern "C" {
#endif
typedef uint32_t mp_digit;
- typedef uint64_t mp_word;
+ typedef ulong64 mp_word;
#ifdef MP_31BIT
/* this is an extension that uses 31-bit digits */
@@ -564,7 +564,7 @@ int mp_fwrite(mp_int *a, int radix, FILE *stream);
#define mp_tohex(M, S) mp_toradix((M), (S), 16)
#ifdef __cplusplus
-}
+ }
#endif
#endif