From cfd86b747d32ac22246a1aa908eaa720c63a88c1 Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Wed, 7 Nov 2012 11:22:47 +0100 Subject: Imported WebKit commit 20271caf2e2c016d5cef40184cddeefeac4f1876 (http://svn.webkit.org/repository/webkit/trunk@133733) New snapshot that contains all previous fixes as well as build fix for latest QtMultimedia API changes. --- Source/JavaScriptCore/runtime/Identifier.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/JavaScriptCore/runtime/Identifier.h') diff --git a/Source/JavaScriptCore/runtime/Identifier.h b/Source/JavaScriptCore/runtime/Identifier.h index bdcfbd187..dcb739ec3 100644 --- a/Source/JavaScriptCore/runtime/Identifier.h +++ b/Source/JavaScriptCore/runtime/Identifier.h @@ -180,7 +180,7 @@ namespace JSC { if (!length) return StringImpl::empty(); - CharBuffer buf = {s, length}; + CharBuffer buf = { s, static_cast(length) }; HashSet::AddResult addResult = globalData->identifierTable->add, IdentifierCharBufferTranslator >(buf); // If the string is newly-translated, then we need to adopt it. -- cgit v1.2.1