X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Ftt.cpp;h=7e95a2a4e6dbcd74f374dd534b1b611fd2787a62;hp=46860fe900df5b9157d3cbafa5e932c688e0de83;hb=0c878adb36c1013944231083d6a7b3b53aa1ad7e;hpb=ddd4224640e04463c62b5896660f6f6abe4cc1a5 diff --git a/src/tt.cpp b/src/tt.cpp index 46860fe9..7e95a2a4 100644 --- a/src/tt.cpp +++ b/src/tt.cpp @@ -66,7 +66,7 @@ void TranspositionTable::resize(size_t mbSize) { free(mem); clusterCount = mbSize * 1024 * 1024 / sizeof(Cluster); - table = static_cast(aligned_ttmem_alloc(clusterCount * sizeof(Cluster), &mem)); + table = static_cast(aligned_ttmem_alloc(clusterCount * sizeof(Cluster), mem)); if (!mem) { std::cerr << "Failed to allocate " << mbSize