summaryrefslogtreecommitdiff
path: root/quacker/dashboard.cpp
diff options
context:
space:
mode:
authorJohn Fultz <jfultz@wolfram.com>2019-07-21 02:06:00 -0500
committerJohn Fultz <jfultz@wolfram.com>2019-07-21 02:06:00 -0500
commitb67605814738d17484e508d037b8b1f09c27cab6 (patch)
tree9584efaa02ac17a1e0dd91b9b36797441c3cf593 /quacker/dashboard.cpp
parent592be355923ea0fae3630af6fe3ba8f11523d9e4 (diff)
Visual C++ compiler warning fixes.
Mostly signed/unsigned/size_t mismatches, except for one case treating a bool as an integer.
Diffstat (limited to 'quacker/dashboard.cpp')
-rw-r--r--quacker/dashboard.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/quacker/dashboard.cpp b/quacker/dashboard.cpp
index 2b361ce..d1ba089 100644
--- a/quacker/dashboard.cpp
+++ b/quacker/dashboard.cpp
@@ -81,7 +81,7 @@ Dashboard::~Dashboard()
void Dashboard::historyChanged(const Quackle::History &history)
{
const Quackle::PlayerList players(history.currentPosition().endgameAdjustedScores());
- const int numberOfPlayers = players.size();
+ const size_t numberOfPlayers = players.size();
const bool gameOver = history.currentPosition().gameOver();
while (m_briefs.size() > numberOfPlayers)