Change size_t to size_type.