X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fmaterial.cpp;h=64a5bff033f9e7579fa33c9c94c3ea3f9dec0b22;hp=b18d29d06b28715fec73884130ed2cd11260921f;hb=4bd24da161fa7fdac4283438e86e9fd923c3493a;hpb=53c07c34bb0aba765e1add91bbc932dfce9bae52 diff --git a/src/material.cpp b/src/material.cpp index b18d29d0..64a5bff0 100644 --- a/src/material.cpp +++ b/src/material.cpp @@ -152,7 +152,7 @@ Entry* probe(const Position& pos) { // OK, we didn't find any special evaluation function for the current material // configuration. Is there a suitable specialized scaling function? - EndgameBase* sf; + const EndgameBase* sf; if ((sf = pos.this_thread()->endgames.probe(key)) != nullptr) {