1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-04-29 16:23:09 +00:00

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,