]> git.sesse.net Git - stockfish/blobdiff - src/san.cpp
Retire piece.cpp
[stockfish] / src / san.cpp
index 662a698ca7d9fff5b6ae7a237a0c7b98fd9ce9ed..ef22626f950c51e65c8033c42f89d6a94f1642dc 100644 (file)
@@ -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;