aboutsummaryrefslogtreecommitdiff
path: root/gold/main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gold/main.cc')
-rw-r--r--gold/main.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gold/main.cc b/gold/main.cc
index aa6c698..06d810f 100644
--- a/gold/main.cc
+++ b/gold/main.cc
@@ -292,8 +292,8 @@ main(int argc, char** argv)
#ifdef HAVE_MALLINFO
struct mallinfo m = mallinfo();
- fprintf(stderr, _("%s: total space allocated by malloc: %d bytes\n"),
- program_name, m.arena);
+ fprintf(stderr, _("%s: total space allocated by malloc: %lld bytes\n"),
+ program_name, static_cast<long long>(m.arena));
#endif
File_read::print_stats();
Archive::print_stats();