From 58b71292c325a94191af2108a633892da2e84bf0 Mon Sep 17 00:00:00 2001 From: Steffen Jaeckel Date: Tue, 3 Oct 2017 19:20:33 +0200 Subject: [PATCH] fixup caed025f8ac31c093e12832d4bde10d637c24e93 Simply always use an unsigned long long for ltc_mp_digit on 64-bit besides when using MSVC. --- src/headers/tomcrypt_cfg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/headers/tomcrypt_cfg.h b/src/headers/tomcrypt_cfg.h index 7894760..af2a095 100644 --- a/src/headers/tomcrypt_cfg.h +++ b/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;