From d302abb430f5cb75e7373197c91e269fdbaf2e61 Mon Sep 17 00:00:00 2001 From: John Fultz Date: Wed, 19 Jul 2023 18:07:39 -0500 Subject: Fix integer size compiler warnings. --- game.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'game.cpp') 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) -- cgit v1.2.3