summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Timer.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-01-08 19:31:31 +0000
committerChris Lattner <sabre@nondot.org>2005-01-08 19:31:31 +0000
commit2c5e4ed8f9c651d8421f90bd482462c219a4e87b (patch)
tree36f56d7ba3c3c154ec9a731f54556d9d28f61df8 /llvm/lib/Support/Timer.cpp
parentb52e041c808f7c7c8bafd0e7c3328e7ba3cbc4e8 (diff)
downloadbcm5719-llvm-2c5e4ed8f9c651d8421f90bd482462c219a4e87b.tar.gz
bcm5719-llvm-2c5e4ed8f9c651d8421f90bd482462c219a4e87b.zip
Silence a VS warning.
llvm-svn: 19377
Diffstat (limited to 'llvm/lib/Support/Timer.cpp')
-rw-r--r--llvm/lib/Support/Timer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/Timer.cpp b/llvm/lib/Support/Timer.cpp
index 4b273b02ff9..38a8b449f34 100644
--- a/llvm/lib/Support/Timer.cpp
+++ b/llvm/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;
}
OpenPOWER on IntegriCloud