X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fbitboard.cpp;h=b19d401af19ad6e13bf36071cdba05cbca9bca5f;hp=994ee17f26fa8b078e636f0378ec6ad44fe43e70;hb=2af2c67650c4ac2531e6ab2753830f91c0999876;hpb=edf4c07d251f1d6c709d47969bfe1452194d9430 diff --git a/src/bitboard.cpp b/src/bitboard.cpp index 994ee17f..b19d401a 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] = 1ULL << s; + SquareBB[s] = make_bitboard(s); for (File f = FILE_A; f <= FILE_H; ++f) FileBB[f] = f > FILE_A ? FileBB[f - 1] << 1 : FileABB;