1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-04-30 16:53:09 +00:00

Fix MSVC warning from previous patch

No functional change.
This commit is contained in:
Marco Costalba 2015-04-03 19:29:29 +02:00
parent 57dfe41ddb
commit ffbaa1c5a8

View file

@ -32,7 +32,7 @@ public:
void pv_instability(double bestMoveChanges) { unstablePvFactor = 1 + bestMoveChanges; } void pv_instability(double bestMoveChanges) { unstablePvFactor = 1 + bestMoveChanges; }
int available() const { return int(optimumTime * unstablePvFactor * 0.76); } int available() const { return int(optimumTime * unstablePvFactor * 0.76); }
int maximum() const { return maximumTime; } int maximum() const { return maximumTime; }
int elapsed() const { return Search::Limits.npmsec ? Search::RootPos.nodes_searched() : now() - start; } int elapsed() const { return int(Search::Limits.npmsec ? Search::RootPos.nodes_searched() : now() - start); }
int64_t availableNodes; // When in 'nodes as time' mode int64_t availableNodes; // When in 'nodes as time' mode