diff --git a/src/misc.cpp b/src/misc.cpp index 99c00ebe..13923a7b 100644 --- a/src/misc.cpp +++ b/src/misc.cpp @@ -61,7 +61,7 @@ const string engine_info(bool to_uci) { /// Debug functions used mainly to collect run-time statistics -static uint64_t hits[2], means[2]; +static int64_t hits[2], means[2]; void dbg_hit_on(bool b) { ++hits[0]; if (b) ++hits[1]; } void dbg_hit_on_c(bool c, bool b) { if (c) dbg_hit_on(b); }