mirror of
https://github.com/javalsai/lidm.git
synced 2025-09-07 13:31:40 +02:00
chore: use size_t
for indexing and iterating
This commit is contained in:
@@ -119,7 +119,7 @@ void* vec_pop(struct Vector* vec) {
|
||||
return vec->pages[--vec->length];
|
||||
}
|
||||
|
||||
void* vec_get(struct Vector* vec, uint32_t index) {
|
||||
void* vec_get(struct Vector* vec, size_t index) {
|
||||
if (index >= vec->length)
|
||||
return NULL;
|
||||
|
||||
|
Reference in New Issue
Block a user