Chromium Code Reviews| Index: chrome/app/chrome_dll_main.cc |
| diff --git a/chrome/app/chrome_dll_main.cc b/chrome/app/chrome_dll_main.cc |
| index c075d88eff1165890a92766b1299e6037039b404..124ff9356d9b279f3ae7dbdd1789d15c41435b4c 100644 |
| --- a/chrome/app/chrome_dll_main.cc |
| +++ b/chrome/app/chrome_dll_main.cc |
| @@ -460,8 +460,8 @@ int ChromeMain(int argc, char** argv) { |
| // leaking shared memory regions on posix platforms. |
| if (parsed_command_line.HasSwitch(switches::kEnableStatsTable) || |
| parsed_command_line.HasSwitch(switches::kEnableBenchmarking)) { |
| - std::string statsfile = StringPrintf("%s-%lld", chrome::kStatsFilename, |
| - static_cast<int64>(browser_pid)); |
| + std::string statsfile = StringPrintf("%s-%ul", chrome::kStatsFilename, |
|
Mark Mentovai
2009/11/18 20:55:27
The cast is to unsigned int but you've got %ul.
E
|
| + static_cast<unsigned int>(browser_pid)); |
| StatsTable *stats_table = new StatsTable(statsfile, |
| chrome::kStatsMaxThreads, chrome::kStatsMaxCounters); |
| StatsTable::set_current(stats_table); |