cURL / Mailing Lists / curl-library / Single Mail


Re: curl_endian using int64 with out checking curl_config.h

From: Steve Holme <>
Date: Fri, 16 Jan 2015 12:38:15 +0000

On Thu, 15 Jan 2015, John E. Malmberg wrote:

>>> Some curl modules including lib/curl_endian.c are using 64 bit
>>> integers with out checking to curl_config.h to see if they are available.
>> That's a bug we should fix. We should still build and run on 32-bit only
>> systems. Can you paste us some compile error to guide us?

> unsigned __int64 Curl_read64_le(unsigned char *buf)

Thanks John - and sorry about that.

I had tried to fix up these issues for the 7.40.0 release based on how existing code detects 64-bit integers but obviously missed my new addition in curl_endian.c :(

Can you check whether commit bb12d44471 fixes the issue for you please?

Kind Regards

List admin:
Received on 2015-01-16