mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 08:43:09 +00:00
Fix a warning on Intel C++
warning #2259: non-pointer conversion from "int" to "uint8_t={unsigned char}" may lose significant bits No functional change.
This commit is contained in:
parent
d65c9a3262
commit
1a939cd8c8
1 changed files with 1 additions and 1 deletions
|
@ -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];
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue