summaryrefslogtreecommitdiff
path: root/deps
diff options
context:
space:
mode:
authorCalvin Buckley <calvin@cmpct.info>2021-10-18 23:32:47 -0300
committerCalvin Buckley <calvin@cmpct.info>2021-10-18 23:32:47 -0300
commit017f38f17cc51ab1e949a14713da6ab2ec66648b (patch)
treebdac16651697ce04e608b83be42481ba99a0413c /deps
parentb029713ae13bfc9edd08d4d7f9570d7b8e0bb0ec (diff)
downloadlibgit2-017f38f17cc51ab1e949a14713da6ab2ec66648b.tar.gz
Fix long long constants in macro in ntlmclient
This should be propagated to upstream.
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)
{