X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gold%2Fmain.cc;h=db3d1e4430b7835fd51387d2f1951fc56de784e2;hb=831bd6aa3b2d5e36c94b89756f58bb99f35026ca;hp=bb8661387c063f705956fb86fb57cb20ae06693a;hpb=4b95cf5c0c75d6efc1b2f96af72317aecca079f1;p=deliverable%2Fbinutils-gdb.git diff --git a/gold/main.cc b/gold/main.cc index bb8661387c..db3d1e4430 100644 --- a/gold/main.cc +++ b/gold/main.cc @@ -1,6 +1,6 @@ // main.cc -- gold main function. -// Copyright (C) 2006-2014 Free Software Foundation, Inc. +// Copyright (C) 2006-2019 Free Software Foundation, Inc. // Written by Ian Lance Taylor . // This file is part of gold. @@ -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(m.arena)); #endif File_read::print_stats(); Archive::print_stats();