diff options
Diffstat (limited to 'lib/curl_ntlm_core.c')
-rw-r--r-- | lib/curl_ntlm_core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/curl_ntlm_core.c b/lib/curl_ntlm_core.c index 4d748f828..442098194 100644 --- a/lib/curl_ntlm_core.c +++ b/lib/curl_ntlm_core.c @@ -404,8 +404,8 @@ static void write32_le(const int value, unsigned char *buffer) static void write64_le(const long long value, unsigned char *buffer) { - write32_le((long)value, buffer); - write32_le((long)(value >> 32), buffer + 4); + write32_le((int)value, buffer); + write32_le((int)(value >> 32), buffer + 4); } /* |