From 02792847654792855532fdb0291bebdbda7b4e38 Mon Sep 17 00:00:00 2001 From: Roman Kuznetsov Date: Sat, 17 Feb 2018 15:18:42 +0300 Subject: [PATCH] Fixed SHA1 compilation --- 3party/liboauthcpp/src/SHA1.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/3party/liboauthcpp/src/SHA1.h b/3party/liboauthcpp/src/SHA1.h index a326911343..794285d4fd 100644 --- a/3party/liboauthcpp/src/SHA1.h +++ b/3party/liboauthcpp/src/SHA1.h @@ -78,7 +78,7 @@ #define UINT_8 unsigned char -#if (ULONG_MAX == 0xFFFFFFFF) +#if (ULONG_MAX == 0xFFFFFFFF && UINT_MAX < ULONG_MAX) #define UINT_32 unsigned long #else #define UINT_32 unsigned int