Use size_t instead of int64_t for the vector size.
Fix #endif comment.