svn commit: r228624 - head/contrib/bzip2

Dimitry Andric dim at FreeBSD.org
Sat Dec 17 12:52:59 UTC 2011


Author: dim
Date: Sat Dec 17 12:52:58 2011
New Revision: 228624
URL: http://svn.freebsd.org/changeset/base/228624

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

Modified:
  head/contrib/bzip2/bzip2recover.c

Modified: head/contrib/bzip2/bzip2recover.c
==============================================================================
--- head/contrib/bzip2/bzip2recover.c	Sat Dec 17 11:06:22 2011	(r228623)
+++ head/contrib/bzip2/bzip2recover.c	Sat Dec 17 12:52:58 2011	(r228624)
@@ -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-all mailing list