Use int64 instead of int

ping @shykes, @vieux