summaryrefslogtreecommitdiff
path: root/deps
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2021-12-23 14:04:43 -0500
committerGitHub <noreply@github.com>2021-12-23 14:04:43 -0500
commit4b27009cadb1bf09ad272f72745310a881762d78 (patch)
treefe7c2f2ba0feba0d31145e010f32bdd428b7497e /deps
parent734468d6fd92fc5d8a6d15b3573e4a384c391c22 (diff)
parent5761980d11c739be3b360b5fb0d45552d8495291 (diff)
downloadlibgit2-4b27009cadb1bf09ad272f72745310a881762d78.tar.gz
Merge pull request #6094 from visualgitio/commit-graph-long-long
Fix a long long that crept past
Diffstat (limited to 'deps')
-rw-r--r--deps/ntlmclient/ntlm.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/deps/ntlmclient/ntlm.c b/deps/ntlmclient/ntlm.c
index 3393be915..ad4de5de5 100644
--- a/deps/ntlmclient/ntlm.c
+++ b/deps/ntlmclient/ntlm.c
@@ -930,10 +930,10 @@ const char *ntlm_client_target_domain_dns(ntlm_client *ntlm)
}
#define EVEN_PARITY(a) \
- (!!((a) & 0x01ll) ^ !!((a) & 0x02ll) ^ \
- !!((a) & 0x04ll) ^ !!((a) & 0x08ll) ^ \
- !!((a) & 0x10ll) ^ !!((a) & 0x20ll) ^ \
- !!((a) & 0x40ll) ^ !!((a) & 0x80ll))
+ (!!((a) & INT64_C(0x01)) ^ !!((a) & INT64_C(0x02)) ^ \
+ !!((a) & INT64_C(0x04)) ^ !!((a) & INT64_C(0x08)) ^ \
+ !!((a) & INT64_C(0x10)) ^ !!((a) & INT64_C(0x20)) ^ \
+ !!((a) & INT64_C(0x40)) ^ !!((a) & INT64_C(0x80)))
static void generate_odd_parity(ntlm_des_block *block)
{