Files
stockfish/src
Marco Costalba 64b4836d12 Fix enum Value issue with gcc 4.4
Louis Zulli reports a miscompile with g++-4.4 from MacPorts.

Namely enum Value is compiled as unsigned instead of signed integer
and this yields an issue in score_string() where float(v) is incorrectly
casted when Value v is negative.

This patch ensure that compiler choses a signed variable to store a Value.

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
2010-02-01 12:39:21 +01:00
..
2009-11-01 17:05:00 +01:00
2009-05-07 14:54:40 +02:00
2009-05-07 14:54:40 +02:00
2009-05-07 14:54:40 +02:00
2009-11-23 20:59:24 +01:00
2009-11-06 17:50:24 +01:00
2009-05-07 14:54:40 +02:00
2009-05-10 18:38:47 +01:00
2009-05-20 14:43:17 +02:00
2009-05-07 14:54:40 +02:00
2009-12-12 19:23:10 +01:00
2009-09-17 14:18:44 +01:00
2009-11-01 17:05:00 +01:00
2009-12-30 13:25:02 +01:00
2009-05-07 14:54:40 +02:00
2009-12-30 13:25:20 +01:00
2009-05-10 18:38:47 +01:00
2009-11-25 17:42:41 +01:00
2009-11-09 08:43:34 +01:00
2009-11-14 17:57:50 +01:00
2009-11-14 17:57:50 +01:00
2009-05-07 14:54:40 +02:00
2009-09-04 08:21:07 +01:00
2009-07-02 06:29:14 +01:00
2009-05-07 14:54:40 +02:00
2009-11-01 17:05:00 +01:00
2009-05-07 14:54:40 +02:00
2010-02-01 12:14:37 +01:00
2010-02-01 12:14:37 +01:00
2009-11-07 10:08:28 +01:00
2009-05-07 14:54:40 +02:00
2010-02-01 12:14:37 +01:00
2009-05-10 18:38:47 +01:00
2009-05-07 14:54:40 +02:00
2010-02-01 12:39:21 +01:00