aboutsummaryrefslogtreecommitdiff
path: root/src/PGN.cpp
diff options
context:
space:
mode:
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") {