int myIncrement = increment[pos.side_to_move()];
if (UseTimeManagement)
{
- calc_search_times(myTime, myIncrement, movesToGo, pos.startpos_ply_counter(), MaxSearchTime, AbsoluteMaxSearchTime);
+ get_search_times(myTime, myIncrement, movesToGo, pos.startpos_ply_counter(),
+ &MaxSearchTime, &AbsoluteMaxSearchTime);
if (get_option_value_bool("Ponder"))
{