aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/node/listsetrollnode.cpp
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2018-02-24 17:06:10 +0100
committerRenaud G <renaud@rolisteam.org>2018-02-24 17:06:10 +0100
commitff78f313abd4839b77f17255b79dd4499bce0512 (patch)
treebca17428464e6184a34f382bf28b3c3204b16519 /node/listsetrollnode.cpp
parent4eeb6ff50f3153c3e139507d99efdf2bc1b9314c (diff)
downloadOneRoll-ff78f313abd4839b77f17255b79dd4499bce0512.tar.gz
OneRoll-ff78f313abd4839b77f17255b79dd4499bce0512.zip
-remove warnings
Diffstat (limited to 'node/listsetrollnode.cpp')
-rw-r--r--node/listsetrollnode.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/node/listsetrollnode.cpp b/node/listsetrollnode.cpp
index d7d4566..e6ffd00 100644
--- a/node/listsetrollnode.cpp
+++ b/node/listsetrollnode.cpp
@@ -65,7 +65,7 @@ void ListSetRollNode::run(ExecutionNode* previous)
if(nullptr!=result)
{
quint64 diceCount = result->getResult(Result::SCALAR).toReal();
- if(diceCount > m_values.size() && m_unique)
+ if(diceCount > static_cast<quint64>(m_values.size()) && m_unique)
{
m_errors.insert(TOO_MANY_DICE,QObject::tr("More unique values asked than possible values (L operator)"));
}