Browse Source

fixup caed025f8ac31c093e12832d4bde10d637c24e93

Simply always use an unsigned long long for ltc_mp_digit on 64-bit besides
when using MSVC.
Steffen Jaeckel 8 years ago
parent
commit
58b71292c3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/headers/tomcrypt_cfg.h

+ 1 - 1
src/headers/tomcrypt_cfg.h

@@ -219,7 +219,7 @@ LTC_EXPORT int   LTC_CALL XSTRCMP(const char *s1, const char *s2);
    #endif
 #endif
 
-#if defined(ENDIAN_64BITWORD) && (defined(__ILP32__) || defined(_ILP32))
+#if defined(ENDIAN_64BITWORD) && !defined(_MSC_VER)
 typedef unsigned long long ltc_mp_digit;
 #else
 typedef unsigned long ltc_mp_digit;