]> git.sesse.net Git - stockfish/blobdiff - src/syzygy/tbcore.cpp
Fix a crash of syzygy on Android
[stockfish] / src / syzygy / tbcore.cpp
index 3485f2b0c1f806eab48eb35e07ebd1408c4e1407..0d88dbcbe7f4e5b418d96bbd81c9cab1b0fee9e2 100644 (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,