diff --git a/src/board/board.cpp b/src/board/board.cpp index 14db6b8..eabdbf6 100644 --- a/src/board/board.cpp +++ b/src/board/board.cpp @@ -888,7 +888,7 @@ void Board::take_move_null() { /* * Ref: https://www.chessprogramming.org/Perft#Perft_function */ -u64 Board::perft(int depth) { +uint64_t Board::perft(int depth) { if (depth == 0) return 1ULL; diff --git a/src/io/uci.cpp b/src/io/uci.cpp index 5363c41..a178355 100644 --- a/src/io/uci.cpp +++ b/src/io/uci.cpp @@ -115,7 +115,7 @@ void uci_parse_go(Board &board, std::istringstream is, SearchInfo &info) { info.depth = (depth == -1) ? MAX_DEPTH : static_cast(depth); - printf("time:%d start:%llu stop:%llu depth:%d timeset:%d", + printf("info string time:%d start:%llu stop:%llu depth:%d timeset:%d", time,info.start_time,info.stop_time,info.depth,info.time_set); std::cout << std::endl;