cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: curl_endian using int64 with out checking curl_config.h

From: Steve Holme <steve_holme_at_hotmail.com>
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?
>

> CC (opts) SRC_ROOT:[CURL.LIB]CURL_ENDIAN.C;1
> 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

Steve
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2015-01-16