Remove unnecessary cast
This commit is contained in:
parent
8751fa0853
commit
98b8226c70
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue