aboutsummaryrefslogtreecommitdiff
path: root/src/PGN.cpp
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2023-05-10 07:40:27 +0200
committerLoic Guegan <manzerbredes@mailbox.org>2023-05-10 07:40:27 +0200
commited52c7cb70fd282bbcdd58e8982cc7df13c6f275 (patch)
tree60870ec5fea8bf72ec75984f4ddae8e7d906265b /src/PGN.cpp
parent2df779cef106a875ce29b18256e3be3243074bfa (diff)
Remove compilation warnings
Diffstat (limited to 'src/PGN.cpp')
-rw-r--r--src/PGN.cpp4
1 files changed, 2 insertions, 2 deletions
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") {