Silence a good bunch of Intel warnings

Note that some pawns and material info has been switched
to int from int8_t.

This is a waste of space but it is not clear if we have a
faster or slower code (or nothing changed), some test should be
needed.

Few warnings still are alive.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Marco Costalba
2009-03-15 18:07:28 +01:00
parent fcecc5212e
commit b870f5a091
6 changed files with 8 additions and 16 deletions

View File

@@ -207,4 +207,4 @@ TTEntry::TTEntry() {
TTEntry::TTEntry(Key k, Value v, ValueType t, Depth d, Move m,
int generation) :
key_ (k), data((m & 0x7FFFF) | (t << 20) | (generation << 23)),
value_(v), depth_(int16_t(d)) {}
value_(int16_t(v)), depth_(int16_t(d)) {}