summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2011-12-17 12:52:58 +0000
committerdim <dim@FreeBSD.org>2011-12-17 12:52:58 +0000
commitb1d87fffec3a206167aec24291f51be52f188861 (patch)
treee88d1a383a698970a0f0915a588a16829f84c495
parentd13adceee23cf3f4cf222351dcf248d4d429471b (diff)
downloadFreeBSD-src-b1d87fffec3a206167aec24291f51be52f188861.zip
FreeBSD-src-b1d87fffec3a206167aec24291f51be52f188861.tar.gz
In contrib/bzip2/bzip2recover.c, use the correct printf length modifier
for unsigned long long. MFC after: 1 week
-rw-r--r--contrib/bzip2/bzip2recover.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/bzip2/bzip2recover.c b/contrib/bzip2/bzip2recover.c
index f9de049..bf3bca5 100644
--- a/contrib/bzip2/bzip2recover.c
+++ b/contrib/bzip2/bzip2recover.c
@@ -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;
OpenPOWER on IntegriCloud