Fix a crash of syzygy on Android

On Android-ARM current TB code crashes at
random times even in single thread mode.

Reported, debugged, fixed and verified
by Peter Osterlund.

No functional change.

Resolves #201
This commit is contained in:
Marco Costalba
2015-01-11 08:31:21 +01:00
committed by Joona Kiiski
parent 17bcdb9212
commit b97df4c236

View File

@@ -370,7 +370,7 @@ void Tablebases::init(const std::string& path)
printf("info string Found %d tablebases.\n", TBnum_piece + TBnum_pawn);
}
static const char offdiag[] = {
static const signed char offdiag[] = {
0,-1,-1,-1,-1,-1,-1,-1,
1, 0,-1,-1,-1,-1,-1,-1,
1, 1, 0,-1,-1,-1,-1,-1,