diff options
| -rw-r--r-- | libtommath/tommath_private.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libtommath/tommath_private.h b/libtommath/tommath_private.h index 654d294..41d1ea2 100644 --- a/libtommath/tommath_private.h +++ b/libtommath/tommath_private.h @@ -246,7 +246,7 @@ MP_DEPRECATED(s_mp_reverse) void bn_reverse(unsigned char *s, int len); #define MP_GET_ENDIANNESS(x) \ do{\ - int16_t n = 0x1; \ + short n = 0x1; \ char *p = (char *)&n; \ x = (p[0] == '\x01') ? MP_LITTLE_ENDIAN : MP_BIG_ENDIAN; \ } while (0) |
