Author: Lukas Geyer Description: Made all score variables long int. Bugs: #192902 --- sjeng-11.2.orig/ttable.c +++ sjeng-11.2/ttable.c @@ -110,7 +110,7 @@ } -void QStoreTT(int score, int alpha, int beta, int best) +void QStoreTT(long score, long alpha, long beta, int best) { unsigned long index; @@ -134,7 +134,7 @@ return; } -void StoreTT(int score, int alpha, int beta, int best, int threat, int depth) +void StoreTT(long score, long alpha, long beta, int best, int threat, int depth) { unsigned long index; @@ -216,7 +216,7 @@ return; } -void LearnStoreTT(int score, unsigned nhash, unsigned hhash, int tomove, int best, int depth) +void LearnStoreTT(long score, unsigned nhash, unsigned hhash, int tomove, int best, int depth) { unsigned long index; @@ -242,7 +242,7 @@ } -int ProbeTT(int *score, int alpha, int beta, int *best, int *threat, int *donull, int depth) +int ProbeTT(long *score, long alpha, long beta, int *best, int *threat, int *donull, int depth) { unsigned long index; @@ -328,7 +328,7 @@ } -int QProbeTT(int *score, int alpha, int beta, int *best) +int QProbeTT(long *score, long alpha, long beta, int *best) { unsigned long index;