]> git.sesse.net Git - stockfish/commit
Score enum should be at least 32 bits
authorMarco Costalba <mcostalba@gmail.com>
Sun, 27 Dec 2009 18:45:19 +0000 (19:45 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Sun, 27 Dec 2009 18:45:19 +0000 (19:45 +0100)
commit0973cc2ef63060294f790803e0525b66ee91dfee
tree78844d0b201409c0bb821544f90675f5534c2a80
parent3f14f9a4782227107c4ced035da205b768839cbe
Score enum should be at least 32 bits

The compiler is allowed to chose the size of an enum variable
based on the values it is expected to store. So force the compiler
to use at least a 32 bit integer type for the Score.

MSVC and Intel do not change, while gcc under -O3 is affected
by this change.

No functional change.

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