about summary refs log tree commit diff homepage
path: root/lib/Support/MemoryUsage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Support/MemoryUsage.cpp')
-rw-r--r--lib/Support/MemoryUsage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Support/MemoryUsage.cpp b/lib/Support/MemoryUsage.cpp
index 00fe07b3..6e9f9424 100644
--- a/lib/Support/MemoryUsage.cpp
+++ b/lib/Support/MemoryUsage.cpp
@@ -119,7 +119,7 @@ size_t util::GetTotalMallocUsage() {
       KERN_SUCCESS)
     klee_error("malloc_get_all_zones failed.");
 
-  int total = 0;
+  size_t total = 0;
   for (unsigned i = 0; i < num_zones; i++) {
     malloc_zone_statistics(zones[i], &stats);
     total += stats.size_in_use;