diff options
author | Daniel Stenberg <daniel@haxx.se> | 2014-01-29 22:42:34 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2014-01-29 22:42:34 +0100 |
commit | 220bcba93dc72931b3f7ee5f4ed5e7c8b6cfeb44 (patch) | |
tree | 6ea3e4f5cbb6074318c82524691249f06befcbe7 | |
parent | eb91e1a58f0622fadd46c7e896a081e28e7b3fbf (diff) |
NTLM: error: conversion to 'int' from 'long int' may alter its value
Fixed two compiler nits
-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); } /* |