summaryrefslogtreecommitdiffstats
path: root/khtml/ecma/kjs_dom.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'khtml/ecma/kjs_dom.cpp')
-rw-r--r--khtml/ecma/kjs_dom.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/khtml/ecma/kjs_dom.cpp b/khtml/ecma/kjs_dom.cpp
index 1231c5710..cc2f3c78a 100644
--- a/khtml/ecma/kjs_dom.cpp
+++ b/khtml/ecma/kjs_dom.cpp
@@ -524,7 +524,7 @@ UString DOMNode::toString(ExecState *) const
DOM::Element e = node;
if ( !e.isNull() ) {
- s = e.nodeName().string();
+ s = static_cast<UString>(e.nodeName().string());
} else
s = className(); // fallback