mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-25 19:46:55 +08:00
Fixed a compile error.
This commit is contained in:
@@ -2562,7 +2562,7 @@ Value parse_score_from_pgn_extract(std::string eval, bool& success) {
|
||||
return VALUE_ZERO;
|
||||
}
|
||||
else {
|
||||
return Value(value * PawnValueEg);
|
||||
return Value(value * static_cast<double>(PawnValueEg));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user