Merge remote-tracking branch 'upstream/master' into HEAD
[stockfish] / src / main.cpp
index ab86ca39ef6bf73c07bf0f5d0ae28eaa264d0de2..d24891d9e659f7aab9cdd7ecf16390597b54abc9 100644 (file)
@@ -110,7 +110,7 @@ void HashProbeImpl::FillMove(Position *pos, Move move, HashProbeMove* decoded) {
                        // Remove all illegal moves to disambiguate.
                        Bitboard att_copy = attackers;
                        while (att_copy) {
-                               Square s = pop_lsb(&att_copy);
+                               Square s = pop_lsb(att_copy);
                                Move m = make_move(s, to);
                                if (!pos->pseudo_legal(m) || !pos->legal(m)) {
                                        attackers &= ~SquareBB[s];