mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-20 00:56:39 +08:00
Fully qualify memset and memcpy
And other trivial touches. Ispired by Lucas's DiscoCheck No functional change.
This commit is contained in:
@@ -1142,7 +1142,7 @@ Value do_evaluate(const Position& pos, Value& margin) {
|
||||
|
||||
stream.str("");
|
||||
stream << std::showpoint << std::showpos << std::fixed << std::setprecision(2);
|
||||
memset(scores, 0, 2 * (TOTAL + 1) * sizeof(Score));
|
||||
std::memset(scores, 0, 2 * (TOTAL + 1) * sizeof(Score));
|
||||
|
||||
Value margin;
|
||||
do_evaluate<true>(pos, margin);
|
||||
|
||||
Reference in New Issue
Block a user