Cast uint64_t to int
Because our printf could not support uint64_t, we solved it by casting uint64_t
to int