X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Ftt.h;h=30a9389788d51979944130042dba489d22ec26c4;hp=c442205253e2232aad77ffde7bf9ea70bc6bc0ba;hb=c192b692cf7753662171db063a89105e072c82df;hpb=85b08ce3adafbb1a70cd371cadb1e136e8879ebf diff --git a/src/tt.h b/src/tt.h index c4422052..30a93897 100644 --- a/src/tt.h +++ b/src/tt.h @@ -109,7 +109,7 @@ extern TranspositionTable TT; inline TTEntry* TranspositionTable::first_entry(const Key key) const { - return &table[(uint32_t)key & (clusterCount - 1)].entry[0]; + return &table[(size_t)key & (clusterCount - 1)].entry[0]; } #endif // #ifndef TT_H_INCLUDED