statistics: fix compiler warning in 32-bit environments