From a4c66ebff5d39a71b7185cfdffcc60742c119e57 Mon Sep 17 00:00:00 2001 From: "mark@chromium.org" Date: Thu, 9 Feb 2012 20:30:31 +0000 Subject: [PATCH] Fix clang warning about format string. Patch by Nico Weber . Review URL: https://breakpad.appspot.com/348001/ git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@914 4c0a9323-5329-0410-9bdc-e9ce6186880e --- src/client/mac/sender/uploader.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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];