X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Ftt.cpp;h=24e94c8008bd691c4045719f065359dd1ff3ee5a;hp=79aa6cac12de2af28ce2311ced2dee569d562bed;hb=40c863d41af5058a02f1de3423a000d801dcb08a;hpb=13a73f67c018e58b2fd46f886c45ef2b75188c8e diff --git a/src/tt.cpp b/src/tt.cpp index 79aa6cac..24e94c80 100644 --- a/src/tt.cpp +++ b/src/tt.cpp @@ -1,7 +1,7 @@ /* Stockfish, a UCI chess playing engine derived from Glaurung 2.1 Copyright (C) 2004-2008 Tord Romstad (Glaurung author) - Copyright (C) 2008-2013 Marco Costalba, Joona Kiiski, Tord Romstad + Copyright (C) 2008-2014 Marco Costalba, Joona Kiiski, Tord Romstad Stockfish is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -30,7 +30,7 @@ TranspositionTable TT; // Our global transposition table /// measured in megabytes. Transposition table consists of a power of 2 number /// of clusters and each cluster consists of ClusterSize number of TTEntry. -void TranspositionTable::set_size(size_t mbSize) { +void TranspositionTable::set_size(uint64_t mbSize) { assert(msb((mbSize << 20) / sizeof(TTEntry)) < 32);