[llvm-commits] CVS: llvm/lib/Support/Timer.cpp

Chris Lattner lattner at cs.uiuc.edu
Sat Jan 8 11:31:45 PST 2005



Changes in directory llvm/lib/Support:

Timer.cpp updated: 1.39 -> 1.40
---
Log message:

Silence a VS warning.


---
Diffs of the changes:  (+1 -1)

Index: llvm/lib/Support/Timer.cpp
diff -u llvm/lib/Support/Timer.cpp:1.39 llvm/lib/Support/Timer.cpp:1.40
--- llvm/lib/Support/Timer.cpp:1.39	Mon Dec 27 02:03:04 2004
+++ llvm/lib/Support/Timer.cpp	Sat Jan  8 13:31:31 2005
@@ -95,7 +95,7 @@
 
 static inline long getMemUsage() {
   if (TrackSpace)
-    return sys::Process::GetMallocUsage();
+    return (long)sys::Process::GetMallocUsage();
   return 0;
 }
 






More information about the llvm-commits mailing list