X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fbitboard.cpp;fp=src%2Fbitboard.cpp;h=96f0517f12f223a7558f6f27ef749da6aa22602c;hp=b19d401af19ad6e13bf36071cdba05cbca9bca5f;hb=af6072c8b7e849c43b69dc286bcc0de6d9b453a1;hpb=1e9397a2df3094589540838b4e24342ac53c212a diff --git a/src/bitboard.cpp b/src/bitboard.cpp index b19d401a..96f0517f 100644 --- a/src/bitboard.cpp +++ b/src/bitboard.cpp @@ -89,7 +89,7 @@ void Bitboards::init() { PopCnt16[i] = (uint8_t) popcount16(i); for (Square s = SQ_A1; s <= SQ_H8; ++s) - SquareBB[s] = make_bitboard(s); + SquareBB[s] = (1ULL << s); for (File f = FILE_A; f <= FILE_H; ++f) FileBB[f] = f > FILE_A ? FileBB[f - 1] << 1 : FileABB;