Silence a VS warning.
authorChris Lattner <sabre@nondot.org>
Sat, 8 Jan 2005 19:31:31 +0000 (19:31 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 8 Jan 2005 19:31:31 +0000 (19:31 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19377 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Support/Timer.cpp

index 4b273b02ff9184f3333840ff697189dc3783961f..38a8b449f34edf3b38e0e20ed26d4da978fce13b 100644 (file)
@@ -95,7 +95,7 @@ Timer::~Timer() {
 
 static inline long getMemUsage() {
   if (TrackSpace)
-    return sys::Process::GetMallocUsage();
+    return (long)sys::Process::GetMallocUsage();
   return 0;
 }