X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Ftt.h;h=2b2ce606eff1bd8615f7834101d70f7c8c550641;hp=5d0df726239cabb66cb13628ac3523e9fb676c9c;hb=4b55d3d8831a7cc70d8f4790111fb13b1863bc7b;hpb=8008f784150d040497ac8bd5a5153d90ea0dbde6 diff --git a/src/tt.h b/src/tt.h index 5d0df726..2b2ce606 100644 --- a/src/tt.h +++ b/src/tt.h @@ -95,7 +95,7 @@ class TranspositionTable { public: TranspositionTable(); ~TranspositionTable(); - void set_size(unsigned mbSize); + void set_size(size_t mbSize); void clear(); void store(const Key posKey, Value v, ValueType type, Depth d, Move m); TTEntry* retrieve(const Key posKey) const; @@ -114,7 +114,7 @@ private: unsigned writes; // heavy SMP read/write access here unsigned char pad_after[64]; - unsigned size; + size_t size; TTCluster* entries; uint8_t generation; };