Fix compiler warnings
This commit is contained in:
parent
ac10ded5e5
commit
f0c7411c61
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue