Remove unnecessary cast

This commit is contained in:
Matt 2022-09-21 20:17:30 -04:00
parent 8751fa0853
commit 98b8226c70
No known key found for this signature in database
GPG key ID: CC209CE203F23602

View file

@ -154,7 +154,7 @@ static inline void array__reserve(VoidArray *self, size_t element_size, uint32_t
} else {
self->contents = ts_malloc(new_capacity * element_size);
}
self->capacity = (uint32_t)new_capacity;
self->capacity = new_capacity;
}
}