X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=src%2Fsan.cpp;h=ef22626f950c51e65c8033c42f89d6a94f1642dc;hb=61c03b9d22de0c1ccf0c60af4e223775d4b3f7cc;hp=662a698ca7d9fff5b6ae7a237a0c7b98fd9ce9ed;hpb=d74025a34e7589fcc0ba93b878cd6484108f9088;p=stockfish diff --git a/src/san.cpp b/src/san.cpp index 662a698c..ef22626f 100644 --- a/src/san.cpp +++ b/src/san.cpp @@ -85,7 +85,7 @@ const string move_to_san(Position& pos, Move m) { { if (pt != PAWN) { - san += piece_type_to_char(pt, true); + san += piece_type_to_char(pt); switch (move_ambiguity(pos, m)) { case AMBIGUITY_NONE: @@ -113,7 +113,7 @@ const string move_to_san(Position& pos, Move m) { if (move_is_promotion(m)) { san += "="; - san += piece_type_to_char(move_promotion_piece(m), true); + san += piece_type_to_char(move_promotion_piece(m)); } } @@ -325,8 +325,8 @@ const string line_to_san(const Position& pos, Move line[], int startColumn, bool const string pretty_pv(const Position& pos, int time, int depth, Value score, ValueType type, Move pv[]) { - const uint64_t K = 1000; - const uint64_t M = 1000000; + const int64_t K = 1000; + const int64_t M = 1000000; std::stringstream s;