From 3735ecda38ba279e36db293d9bf6098545086edc Mon Sep 17 00:00:00 2001 From: hniksic Date: Sat, 25 Jun 2005 09:08:35 -0700 Subject: [PATCH] [svn] Use %I64d, not %I64. --- src/ChangeLog | 5 +++++ src/utils.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index d5b9f71b..904d85a5 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2005-06-25 Hrvoje Niksic + + * utils.c (SPRINTF_WGINT): The correct format is %I64d, not just + %I64. + 2005-06-25 Hrvoje Niksic * http.c (http_loop): Don't warn about wildcards in HTTP URLs if diff --git a/src/utils.c b/src/utils.c index 5eb0d88c..d0d7fbc9 100644 --- a/src/utils.c +++ b/src/utils.c @@ -1345,7 +1345,7 @@ numdigit (wgint number) #elif SIZEOF_LONG_LONG >= SIZEOF_WGINT # define SPRINTF_WGINT(buf, n) sprintf (buf, "%lld", (long long) (n)) #elif defined(WINDOWS) -# define SPRINTF_WGINT(buf, n) sprintf (buf, "%I64", (__int64) (n)) +# define SPRINTF_WGINT(buf, n) sprintf (buf, "%I64d", (__int64) (n)) #else # define SPRINTF_WGINT(buf, n) sprintf (buf, "%j", (intmax_t) (n)) #endif