summaryrefslogtreecommitdiff
path: root/game.cpp
diff options
context:
space:
mode:
authorJohn Fultz <jfultz@wolfram.com>2023-07-19 18:07:39 -0500
committerJohn Fultz <jfultz@wolfram.com>2023-07-19 22:38:25 -0500
commitd302abb430f5cb75e7373197c91e269fdbaf2e61 (patch)
tree0f52f3cfa5feff989603d81c1c8b4af147cf08cb /game.cpp
parent490072ac8b3de65f3ad6f00d9d6de9d64b049823 (diff)
Fix integer size compiler warnings.
Diffstat (limited to 'game.cpp')
-rw-r--r--game.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/game.cpp b/game.cpp
index 0f2963a..2319fc0 100644
--- a/game.cpp
+++ b/game.cpp
@@ -189,7 +189,7 @@ GamePosition::GamePosition(const PlayerList &players)
setEmptyBoard();
resetMoveMade();
resetBag();
- m_tilesInBag = m_bag.fullBagTileCount() - (QUACKLE_PARAMETERS->rackSize() * m_players.size());
+ m_tilesInBag = m_bag.fullBagTileCount() - (QUACKLE_PARAMETERS->rackSize() * int(m_players.size()));
}
GamePosition::GamePosition(const GamePosition &position)