mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 08:43:09 +00:00
Fix a warning with MSVC 2010
Warning C4804: '<' : unsafe use of type 'bool' in operation No functional change.
This commit is contained in:
parent
422c9c2acd
commit
678425f274
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ void TranspositionTable::store(const Key key, Value v, Bound b, Depth d, Move m,
|
|||
// Implement replace strategy
|
||||
if ( ( tte->generation8 == generation || tte->bound() == BOUND_EXACT)
|
||||
- (replace->generation8 == generation)
|
||||
< (tte->depth16 < replace->depth16))
|
||||
- (tte->depth16 < replace->depth16) < 0)
|
||||
replace = tte;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue