From 901528b4a5f0eac201b1f3fe17071730da332082 Mon Sep 17 00:00:00 2001 From: Marshall Greenblatt Date: Mon, 14 Oct 2013 19:29:39 +0000 Subject: [PATCH] Mac: Fix "format string is not a string literal" error when building with clang and 10.7 SDK. git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1458 5089003a-bbd8-11dd-ad1f-f1f9622dbc98 --- tests/cefclient/cefclient_mac.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/cefclient/cefclient_mac.mm b/tests/cefclient/cefclient_mac.mm index f2a77bc6a..7c487adbb 100644 --- a/tests/cefclient/cefclient_mac.mm +++ b/tests/cefclient/cefclient_mac.mm @@ -122,7 +122,7 @@ const int kWindowHeight = 600; defaultButton:@"OK" alternateButton:nil otherButton:nil - informativeTextWithFormat:message]; + informativeTextWithFormat:@"%@", message]; [alert runModal]; }