Remove redundant type casts

size_t -> int -> size_t