From ed52c7cb70fd282bbcdd58e8982cc7df13c6f275 Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Wed, 10 May 2023 07:40:27 +0200 Subject: Remove compilation warnings --- src/PGN.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/PGN.cpp') diff --git a/src/PGN.cpp b/src/PGN.cpp index 831de6e..1620292 100644 --- a/src/PGN.cpp +++ b/src/PGN.cpp @@ -30,7 +30,7 @@ namespace pgnp { -PGN::PGN() : LastGameEndLoc(0), moves(NULL) {} +PGN::PGN() : moves(NULL), LastGameEndLoc(0) {} PGN::~PGN() { if (moves != NULL) @@ -124,7 +124,7 @@ void PGN::ParseNextGame() { } void PGN::STRCheck() { - int i = 0; + long unsigned int i = 0; // Locate Event tag while (i < tagkeys.size()) { if (tagkeys[i] == "Event") { -- cgit v1.2.3