diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-03-02 09:31:18 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-03-02 09:31:18 +0000 |
commit | 353f7641193ddf3f6a42d49d53ea994e4ea4388b (patch) | |
tree | 17927ce646b5331cedef8a05b819d5869ad983be /lib/setup.h | |
parent | 9f437269fb0b8ccb3311da268e985fea122bc8b8 (diff) | |
download | curl-353f7641193ddf3f6a42d49d53ea994e4ea4388b.tar.gz |
Yet another curl_off_t printf format attempt, we now exclude the %-letter from
FORMAT_OFF_T to allow additional options to get specified, like with '"%5"
FORMAT_OFF_T'.
Diffstat (limited to 'lib/setup.h')
-rw-r--r-- | lib/setup.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/setup.h b/lib/setup.h index f3cdc16a8..60d305e8f 100644 --- a/lib/setup.h +++ b/lib/setup.h @@ -82,12 +82,11 @@ typedef unsigned char bool; /* We set up our internal prefered (CURL_)FORMAT_OFF_T here */ #if defined(SIZEOF_CURL_OFF_T) && (SIZEOF_CURL_OFF_T > 4) -#define FORMAT_OFF_T "%lld" +#define FORMAT_OFF_T "lld" #else -#define FORMAT_OFF_T "%ld" +#define FORMAT_OFF_T "ld" #endif - #ifdef NEED_REENTRANT /* Solaris machines needs _REENTRANT set for a few function prototypes and things to appear in the #include files. We need to #define it before all |