Fix some warnings with Intel C++ compiler
[stockfish] / src / tt.cpp
index 46d891cd04f1558e76b0f2b9161d872c1928694a..4afd965b0fabb70abc106fa975a3e5c1ab469a8b 100644 (file)
@@ -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;
       }