diff options
Diffstat (limited to 'node/scalaroperatornode.cpp')
| -rw-r--r-- | node/scalaroperatornode.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/node/scalaroperatornode.cpp b/node/scalaroperatornode.cpp index a9a19e3..17ddecb 100644 --- a/node/scalaroperatornode.cpp +++ b/node/scalaroperatornode.cpp @@ -54,7 +54,7 @@ void ScalarOperatorNode::run(ExecutionNode* previous) } if(nullptr!=previous) { - DiceResult* previousResult = static_cast<DiceResult*>(previous->getResult()); + DiceResult* previousResult = dynamic_cast<DiceResult*>(previous->getResult()); if(nullptr!=previousResult) { |