diff options
Diffstat (limited to 'WebCore/bridge/qt/qt_runtime.cpp')
-rw-r--r-- | WebCore/bridge/qt/qt_runtime.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/bridge/qt/qt_runtime.cpp b/WebCore/bridge/qt/qt_runtime.cpp index 6881c2e..630fd2f 100644 --- a/WebCore/bridge/qt/qt_runtime.cpp +++ b/WebCore/bridge/qt/qt_runtime.cpp @@ -905,7 +905,7 @@ JSValue convertQVariantToValue(ExecState* exec, PassRefPtr<RootObject> root, con JSValue val = convertQVariantToValue(exec, root.get(), i.value()); if (val) { PutPropertySlot slot; - ret->put(exec, Identifier(exec, (const UChar *)s.constData(), s.length()), val, slot); + ret->put(exec, Identifier(exec, reinterpret_cast_ptr<const UChar *>(s.constData()), s.length()), val, slot); // ### error case? } ++i; |