mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-25 11:36:51 +08: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:
committed by
Joona Kiiski
parent
17bcdb9212
commit
b97df4c236
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user