1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

NTLM: error: conversion to 'int' from 'long int' may alter its value

Fixed two compiler nits
This commit is contained in:
Daniel Stenberg 2014-01-29 22:42:34 +01:00
parent eb91e1a58f
commit 220bcba93d

View File

@ -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) static void write64_le(const long long value, unsigned char *buffer)
{ {
write32_le((long)value, buffer); write32_le((int)value, buffer);
write32_le((long)(value >> 32), buffer + 4); write32_le((int)(value >> 32), buffer + 4);
} }
/* /*