X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Ftt.cpp;h=4afd965b0fabb70abc106fa975a3e5c1ab469a8b;hp=46d891cd04f1558e76b0f2b9161d872c1928694a;hb=c97b702f4d501a9b3f025cd7f02d84c4638b7c2a;hpb=91de6b0f37516462658f6e38db430813aa9e7ed8;ds=sidebyside diff --git a/src/tt.cpp b/src/tt.cpp index 46d891cd..4afd965b 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, ++tte) if (tte->key16 == key16) { - tte->genBound8 = generation | tte->bound(); // Refresh + tte->genBound8 = uint8_t(generation | tte->bound()); // Refresh return tte; }