aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2014-01-29 22:42:34 +0100
committerDaniel Stenberg <daniel@haxx.se>2014-01-29 22:42:34 +0100
commit220bcba93dc72931b3f7ee5f4ed5e7c8b6cfeb44 (patch)
tree6ea3e4f5cbb6074318c82524691249f06befcbe7
parenteb91e1a58f0622fadd46c7e896a081e28e7b3fbf (diff)
NTLM: error: conversion to 'int' from 'long int' may alter its value
Fixed two compiler nits
-rw-r--r--lib/curl_ntlm_core.c4
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);
}
/*