X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Ftt.cpp;h=117b60027a1678d034b88fe82ed93d7d57194266;hp=23f6277e473446c619dacdd473ac8cfc6612eda9;hb=2c52147dbfdc714a0ae95982f37fc5141b225f8c;hpb=57fdfdedcf8c910fc9ad6c827a1a4dae372d3606 diff --git a/src/tt.cpp b/src/tt.cpp index 23f6277e..117b6002 100644 --- a/src/tt.cpp +++ b/src/tt.cpp @@ -75,7 +75,7 @@ const TTEntry* TranspositionTable::probe(const Key key) const { for (unsigned i = 0; i < TTClusterSize; ++i) if (tte[i].key16 == key16) { - tte[i].genBound8 = generation | (uint8_t)tte[i].bound(); // Refresh + tte[i].genBound8 = uint8_t(generation | tte[i].bound()); // Refresh return &tte[i]; }