svn commit: r229182 - stable/9/contrib/bzip2

Dimitry Andric dim at FreeBSD.org
Sun Jan 1 18:29:38 UTC 2012


Author: dim
Date: Sun Jan  1 18:29:37 2012
New Revision: 229182
URL: http://svn.freebsd.org/changeset/base/229182

Log:
  MFC r228624:
  
  In contrib/bzip2/bzip2recover.c, use the correct printf length modifier
  for unsigned long long.

Modified:
  stable/9/contrib/bzip2/bzip2recover.c
Directory Properties:
  stable/9/contrib/bzip2/   (props changed)

Modified: stable/9/contrib/bzip2/bzip2recover.c
==============================================================================
--- stable/9/contrib/bzip2/bzip2recover.c	Sun Jan  1 18:25:16 2012	(r229181)
+++ stable/9/contrib/bzip2/bzip2recover.c	Sun Jan  1 18:29:37 2012	(r229182)
@@ -37,7 +37,7 @@
 */
 #ifdef __GNUC__
    typedef  unsigned long long int  MaybeUInt64;
-#  define MaybeUInt64_FMT "%Lu"
+#  define MaybeUInt64_FMT "%llu"
 #else
 #ifdef _MSC_VER
    typedef  unsigned __int64  MaybeUInt64;


More information about the svn-src-stable-9 mailing list