Stats: change pointer type to be 32bits friendly

Signed-off-by: Eduardo Silva <edsiper@gmail.com>