summaryrefslogtreecommitdiff
path: root/src/XmlRpcRequestParserController.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/XmlRpcRequestParserController.cc')
-rw-r--r--src/XmlRpcRequestParserController.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/XmlRpcRequestParserController.cc b/src/XmlRpcRequestParserController.cc
index 8b6adb4b..6c9a543f 100644
--- a/src/XmlRpcRequestParserController.cc
+++ b/src/XmlRpcRequestParserController.cc
@@ -51,7 +51,7 @@ void XmlRpcRequestParserController::popStructFrame()
assert(!frameStack_.empty());
StateFrame parentFrame = frameStack_.top();
- Dict* dict = asDict(parentFrame.value_);
+ Dict* dict = downcast<Dict>(parentFrame.value_);
assert(dict);
frameStack_.pop();
if(currentFrame_.validMember()) {
@@ -65,7 +65,7 @@ void XmlRpcRequestParserController::popArrayFrame()
assert(!frameStack_.empty());
StateFrame parentFrame = frameStack_.top();
- List* list = asList(parentFrame.value_);
+ List* list = downcast<List>(parentFrame.value_);
assert(list);
frameStack_.pop();
if(currentFrame_.value_) {