diff options
| author | Adam <adammegarules1@gmail.com> | 2026-07-26 16:33:03 +0200 |
|---|---|---|
| committer | Adam <adammegarules1@gmail.com> | 2026-07-26 16:33:03 +0200 |
| commit | a46558e0aab30eb88ac3cafac8d490174bd4785f (patch) | |
| tree | 863492751dcf5afb5196bbc7a457d8f7e735ede0 /src/fen.cpp | |
| parent | 809063825a9b0cc1edd01816ec78de55b0d7683e (diff) | |
making everything more strict + fixing the warnings/error
Diffstat (limited to 'src/fen.cpp')
| -rw-r--r-- | src/fen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fen.cpp b/src/fen.cpp index a6773c2..9c3154c 100644 --- a/src/fen.cpp +++ b/src/fen.cpp @@ -25,7 +25,7 @@ void setBoardFen(std::string fen, board *b) { }; parserState state = POSITION; - for (int i = 0; i < fen.length(); i++) { + for (uint i = 0; i < fen.length(); i++) { std::printf("state: %d\n", state); std::printf("doing: %c\n", fen[i]); if (fen[i] == ' ') { |
