From 41a964931a0e0943ceef28b0c691843bf8ca87b7 Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Sat, 5 Nov 2011 08:57:40 +0000 Subject: Add more PRI.64 macros for MSVC and use them throughout the codebase. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143799 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Support/Timer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Support/Timer.cpp') diff --git a/lib/Support/Timer.cpp b/lib/Support/Timer.cpp index 03ac9632f0..598e8ad6a1 100644 --- a/lib/Support/Timer.cpp +++ b/lib/Support/Timer.cpp @@ -184,7 +184,7 @@ void TimeRecord::print(const TimeRecord &Total, raw_ostream &OS) const { OS << " "; if (Total.getMemUsed()) - OS << format("%9lld ", (long long)getMemUsed()); + OS << format("%9" PRId64 " ", (int64_t)getMemUsed()); } -- cgit v1.2.3