From 6cddf9183cee0fa55944d2b2c171ca9b0f55cc87 Mon Sep 17 00:00:00 2001 From: Marco Costalba Date: Mon, 16 Mar 2009 08:02:33 +0100 Subject: [PATCH] Partially revert pawns storm bug fix Try to save space and use the minimum size possible. In particular restore int16_t for values and int8_t for halfOpenFiles. Use int16_t for storm values insted of int and also instead of original buggy and too small int8_t. Signed-off-by: Marco Costalba --- src/pawns.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pawns.h b/src/pawns.h index 673bcfa5..4b61d80e 100644 --- a/src/pawns.h +++ b/src/pawns.h @@ -58,9 +58,9 @@ private: Key key; Bitboard passedPawns; - int mgValue, egValue; - int ksStormValue[2], qsStormValue[2]; - int halfOpenFiles[2]; + int16_t mgValue, egValue; + int16_t ksStormValue[2], qsStormValue[2]; + uint8_t halfOpenFiles[2]; }; -- 2.39.2