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