cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: FTP resume libcurl 7.15 to 7.37

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 7 Oct 2014 19:55:27 +0200 (CEST)

On Tue, 7 Oct 2014, Bentham, Dave wrote:

> Now I found this in curlbuild.h:
>
> /* curl_off_t formatting string directive without "%" conversion specifier. */
> #define CURL_FORMAT_CURL_OFF_T "lld "
>
> /* unsigned curl_off_t formatting string without "%" conversion specifier. */
> #define CURL_FORMAT_CURL_OFF_TU "lld "

Yes, as %lld and %llu are what 32 bit systems use that support "long long"
arguments like curl_off_t. If you're using a system where curl_off_t is but a
regular long, then change those defines!

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2014-10-07