]> sjero.net Git - wget/commitdiff
[svn] Use %I64d, not %I64.
authorhniksic <devnull@localhost>
Sat, 25 Jun 2005 16:08:35 +0000 (09:08 -0700)
committerhniksic <devnull@localhost>
Sat, 25 Jun 2005 16:08:35 +0000 (09:08 -0700)
src/ChangeLog
src/utils.c

index d5b9f71b021c40807a5b72dd7a8e841367ee2655..904d85a5dfad2d7fa1c3a1e2c14d6fb194aaf5b0 100644 (file)
@@ -1,3 +1,8 @@
+2005-06-25  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * utils.c (SPRINTF_WGINT): The correct format is %I64d, not just
+       %I64.
+
 2005-06-25  Hrvoje Niksic  <hniksic@xemacs.org>
 
        * http.c (http_loop): Don't warn about wildcards in HTTP URLs if
index 5eb0d88cd10846f8a5ee7d90afbf6267b125c7da..d0d7fbc9d0ba83c3518c05e445225aecd2072f50 100644 (file)
@@ -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