Merge "Removing unnecessary casts to int64_t."