]> git.sesse.net Git - stockfish/commit
Revert small pop_1st_bit() optimization
authorMarco Costalba <mcostalba@gmail.com>
Sun, 27 Dec 2009 13:05:15 +0000 (14:05 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Sun, 27 Dec 2009 13:07:08 +0000 (14:07 +0100)
commit3f14f9a4782227107c4ced035da205b768839cbe
tree7272c519b5dcbea14dd060613f08e09750bedebe
parentaa86d81f79a92a5a050f73e1443190e53aa9f2ed
Revert small pop_1st_bit() optimization

We cannot cast a pointer type to an unrelated pointer type.
This is a violation of the strict aliasing rules.

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
src/bitboard.cpp