X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fbitboard.cpp;h=b19d401af19ad6e13bf36071cdba05cbca9bca5f;hp=994ee17f26fa8b078e636f0378ec6ad44fe43e70;hb=76f9cd4df1292ffa919e039edcfb8069f576e698;hpb=d9cac9a41492c3e54f3bb471606ec3a922a8ea0f;ds=sidebyside 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;