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
This commit is contained in:
parent
3aa10d2a87
commit
a4c66ebff5
1 changed files with 1 additions and 1 deletions
|
@ -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];
|
||||
|
|
Loading…
Reference in a new issue