diff options
author | mark@chromium.org <mark@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2012-02-09 20:30:31 +0000 |
---|---|---|
committer | mark@chromium.org <mark@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2012-02-09 20:30:31 +0000 |
commit | a4c66ebff5d39a71b7185cfdffcc60742c119e57 (patch) | |
tree | b01e32342c5b1641ba318ff63854dfd965715040 /src/client/mac | |
parent | NXSwapBigIntToHost is deprecated, use CFSwapInt32BigToHost instead. (diff) | |
download | breakpad-a4c66ebff5d39a71b7185cfdffcc60742c119e57.tar.xz |
Fix clang warning about format string.
Patch by Nico Weber <thakis@chromium.org>.
Review URL: https://breakpad.appspot.com/348001/
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@914 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/client/mac')
-rw-r--r-- | src/client/mac/sender/uploader.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/mac/sender/uploader.mm b/src/client/mac/sender/uploader.mm index 7298ed42..b876b9e2 100644 --- a/src/client/mac/sender/uploader.mm +++ b/src/client/mac/sender/uploader.mm @@ -251,7 +251,7 @@ NSDictionary *readConfigurationData(const char *configFile) { long clientId1 = random(); long clientId2 = random(); long clientId3 = random(); - crashClientID = [NSString stringWithFormat:@"%x%x%x", + crashClientID = [NSString stringWithFormat:@"%lx%lx%lx", clientId1, clientId2, clientId3]; [ud setObject:crashClientID forKey:kClientIdPreferenceKey]; |