mirror of
https://github.com/javalsai/lidm.git
synced 2026-02-27 12:00:44 +01: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