summaryrefslogtreecommitdiff
path: root/bogowinplayer.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 /bogowinplayer.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 'bogowinplayer.cpp')
-rw-r--r--bogowinplayer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/bogowinplayer.cpp b/bogowinplayer.cpp
index 8fa5be5..083a94b 100644
--- a/bogowinplayer.cpp
+++ b/bogowinplayer.cpp
@@ -111,7 +111,7 @@ MoveList SmartBogowin::moves(int nmoves)
//
// Make the Simulator able to select racks randomly from the ProbableRackList
if (m_parameters.inferring) {
- int numPlayers = currentPosition().players().size();
+ int numPlayers = (int)currentPosition().players().size();
UVcout << "numPlayers: " << numPlayers << endl;
if (numPlayers == 2) {
bool hasPreviousPosition;