Perft should return an int64_t not an int

Found by Louis Zulli with his super fast
hardware: 65M nodes/sec at perft !

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Marco Costalba
2011-01-05 17:03:57 +01:00
parent 7614501362
commit 55b16593a4
3 changed files with 5 additions and 4 deletions

View File

@@ -287,7 +287,8 @@ namespace {
void perft(Position& pos, UCIParser& up) {
int depth, tm, n;
int depth, tm;
int64_t n;
if (!(up >> depth))
return;