From 220bcba93dc72931b3f7ee5f4ed5e7c8b6cfeb44 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 29 Jan 2014 22:42:34 +0100 Subject: NTLM: error: conversion to 'int' from 'long int' may alter its value Fixed two compiler nits --- lib/curl_ntlm_core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') 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); } /* -- cgit v1.2.3