mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-20 00:56:39 +08:00
Fix compatibility with old Windows 95 and 98
Report and patches by bnemias. No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -136,7 +136,7 @@ void Search::init() {
|
||||
|
||||
// Init futility move count array
|
||||
for (d = 0; d < 32; d++)
|
||||
FutilityMoveCounts[d] = int(3.001 + 0.25 * pow(d, 2.0));
|
||||
FutilityMoveCounts[d] = int(3.001 + 0.25 * pow(double(d), 2.0));
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user