diff options
Diffstat (limited to 'lib/Support/Timer.cpp')
-rw-r--r-- | lib/Support/Timer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Support/Timer.cpp b/lib/Support/Timer.cpp index 4b273b02ff..38a8b449f3 100644 --- a/lib/Support/Timer.cpp +++ b/lib/Support/Timer.cpp @@ -95,7 +95,7 @@ Timer::~Timer() { static inline long getMemUsage() { if (TrackSpace) - return sys::Process::GetMallocUsage(); + return (long)sys::Process::GetMallocUsage(); return 0; } |