Skip to content

Commit 6370e2d

Browse files
committed
The unsigned int error from GameBoard.cpp was pissing me off so I fixed it. I know this isn't the right branch for that, but hey
1 parent f12582f commit 6370e2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GameBoard.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1219,7 +1219,7 @@ bool GameBoard::hasWinner() {
12191219
* @return reference to the winner if there is one, null otherwise
12201220
*/
12211221
Player& GameBoard::getWinner() const {
1222-
if (winner != -1 && winner < players.size())
1222+
if (winner != -1 && winner < (int)players.size())
12231223
return *players[winner];
12241224

12251225
return *players[0];

0 commit comments

Comments
 (0)