It's needed since `ccCArray` stores element with `Object*` type. But I think we should cast it to `ssize_t` rather than `size_t`.

Do we still need to use `ccCArray` in our engine codes as we have deprecated `CCArray`.
Could we just use `std::vector` for non-reference counted type?