Fix compiler warnings

This commit is contained in:
Quinten Kock 2020-12-07 21:30:28 +01:00
parent ac10ded5e5
commit f0c7411c61
2 changed files with 2 additions and 2 deletions

View File

@ -14,4 +14,4 @@ void* arena_alloc(struct arena_allocator* alloc, size_t len, size_t align) {
alloc->begin += len; alloc->begin += len;
alloc->length -= len; alloc->length -= len;
return retval; return retval;
} }

View File

@ -5,4 +5,4 @@ struct arena_allocator {
size_t length; size_t length;
}; };
void *arena_alloc(struct arena_allocator* alloc, size_t length, size_t align); void *arena_alloc(struct arena_allocator* alloc, size_t length, size_t align);