summaryrefslogtreecommitdiffstats
path: root/chrome/common
diff options
context:
space:
mode:
authorrdsmith@chromium.org <rdsmith@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-04 22:09:03 +0000
committerrdsmith@chromium.org <rdsmith@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-04 22:09:03 +0000
commitae35150bde7b4e89b69bd78b984b9ab478145a10 (patch)
treeb60d51875cb7902bea2b76be291da035a4a59e6e /chrome/common
parent2a8efb85a12496af618fe6545a4e3fba82046d00 (diff)
downloadchromium_src-ae35150bde7b4e89b69bd78b984b9ab478145a10.zip
chromium_src-ae35150bde7b4e89b69bd78b984b9ab478145a10.tar.gz
chromium_src-ae35150bde7b4e89b69bd78b984b9ab478145a10.tar.bz2
Change %d to %zu to handle size_t argument.
BUG=None Review URL: http://codereview.chromium.org/9310107 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@120493 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r--chrome/common/child_process_logging_mac.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/common/child_process_logging_mac.mm b/chrome/common/child_process_logging_mac.mm
index 2f5222e..d5326c7 100644
--- a/chrome/common/child_process_logging_mac.mm
+++ b/chrome/common/child_process_logging_mac.mm
@@ -182,7 +182,7 @@ void SetCommandLine(const CommandLine* command_line) {
// These should match the corresponding strings in breakpad_win.cc.
NSString* const kNumSwitchesKey = @"num-switches";
- NSString* const kSwitchKeyFormat = @"switch-%d"; // 1-based.
+ NSString* const kSwitchKeyFormat = @"switch-%zu"; // 1-based.
// Note the total number of switches, not including the exec path.
const CommandLine::StringVector& argv = command_line->argv();