summaryrefslogtreecommitdiff
path: root/reporter.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 /reporter.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 'reporter.cpp')
-rw-r--r--reporter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/reporter.cpp b/reporter.cpp
index 5a2c484..4b13161 100644
--- a/reporter.cpp
+++ b/reporter.cpp
@@ -93,7 +93,7 @@ void Reporter::reportPosition(const GamePosition &position, ComputerPlayer *comp
int highestScore = 0;
double highestEquity = 0;
- unsigned int widestPositionString = 0;
+ size_t widestPositionString = 0;
unsigned int widestMove = 0;
bool hasWinPercentages = false;
const Quackle::MoveList::const_iterator end(moves.end());