diff options
| author | 2018-02-24 17:06:10 +0100 | |
|---|---|---|
| committer | 2018-02-24 17:06:10 +0100 | |
| commit | ff78f313abd4839b77f17255b79dd4499bce0512 (patch) | |
| tree | bca17428464e6184a34f382bf28b3c3204b16519 /node/dicerollernode.cpp | |
| parent | 4eeb6ff50f3153c3e139507d99efdf2bc1b9314c (diff) | |
| download | OneRoll-ff78f313abd4839b77f17255b79dd4499bce0512.tar.gz OneRoll-ff78f313abd4839b77f17255b79dd4499bce0512.zip | |
-remove warnings
Diffstat (limited to 'node/dicerollernode.cpp')
| -rw-r--r-- | node/dicerollernode.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/node/dicerollernode.cpp b/node/dicerollernode.cpp index 1f501e5..70fd245 100644 --- a/node/dicerollernode.cpp +++ b/node/dicerollernode.cpp @@ -29,7 +29,7 @@ void DiceRollerNode::run(ExecutionNode* previous) { m_errors.insert(NO_DICE_TO_ROLL,QObject::tr("No dice to roll")); } - auto possibleValue = (m_max-m_min)+1; + auto possibleValue = static_cast<quint64>(abs((m_max-m_min)+1)); //qDebug() << possibleValue; if( possibleValue < m_diceCount && m_unique) { |