]> git.sesse.net Git - stockfish/commit
Fix a warning with MSVC in 'analyze' mode
authorMarco Costalba <mcostalba@gmail.com>
Sat, 14 Jun 2014 10:46:58 +0000 (12:46 +0200)
committerMarco Costalba <mcostalba@gmail.com>
Sat, 14 Jun 2014 10:46:58 +0000 (12:46 +0200)
commitc6fc51c5ea769098a11d14680e611ac88eec94ad
tree46e31cacba21ebdf2472f04abdec9c29522366ec
parent2cb4c7052efa55d14a66aace65625d02acc044a3
Fix a warning with MSVC in 'analyze' mode

Here MSVC is worried that

StepAttacksBB[PAWN][psq]

could overflow, so change psq initialization
to clarify psq is always less than 64.

No functional change.
src/bitbase.cpp