mirror of
https://github.com/yuzu-emu/breakpad.git
synced 2024-11-28 02:14:15 +01:00
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
@ -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 New Issue
Block a user