mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-23 10:36:26 +08:00
Fix a compiler warning
Latest master triggers a compiler warning due to comparing int64_t to uint64_t. notation.cpp: In Funktion »std::string pretty_pv(Position&, int, Value, int64_t, Move*)«: notation.cpp:230:30: Warnung: Vergleich zwischen vorzeichenbehafteten und vorzeichenlosen Ganzzahlausdrücken [-Wsign-compare] This patch should fix it. No functional change.
This commit is contained in:
committed by
Marco Costalba
parent
72e8640f4d
commit
ffd6685f79
@@ -30,6 +30,6 @@ std::string score_to_uci(Value v, Value alpha = -VALUE_INFINITE, Value beta = VA
|
||||
Move move_from_uci(const Position& pos, std::string& str);
|
||||
const std::string move_to_uci(Move m, bool chess960);
|
||||
const std::string move_to_san(Position& pos, Move m);
|
||||
std::string pretty_pv(Position& pos, int depth, Value score, int64_t msecs, Move pv[]);
|
||||
std::string pretty_pv(Position& pos, int depth, Value score, uint64_t msecs, Move pv[]);
|
||||
|
||||
#endif // #ifndef NOTATION_H_INCLUDED
|
||||
|
||||
Reference in New Issue
Block a user