From: Chris Lattner Date: Sat, 8 Jan 2005 19:31:31 +0000 (+0000) Subject: Silence a VS warning. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=7cf9ad36982b18a548fd45db0c001296533c44da;p=oota-llvm.git Silence a VS warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19377 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Support/Timer.cpp b/lib/Support/Timer.cpp index 4b273b02ff9..38a8b449f34 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; }