diff options
author | dec05eba <dec05eba@protonmail.com> | 2019-06-24 05:14:07 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-07-25 14:36:46 +0200 |
commit | 33223c7d9a80e821bccce25960f7e48ab425d975 (patch) | |
tree | 8ac99827261dbc935198ac467212b7ce41cf925e /src/std | |
parent | abe41cc2d5413faa8adeb16831f654435b6d0ef0 (diff) |
Fix errors from pedantic check
Diffstat (limited to 'src/std')
-rw-r--r-- | src/std/buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/std/buffer.c b/src/std/buffer.c index ddf7d39..3676cee 100644 --- a/src/std/buffer.c +++ b/src/std/buffer.c @@ -12,7 +12,7 @@ int buffer_init(Buffer *self, struct ScopedAllocator *allocator) { if(allocator) { return scoped_allocator_add_mem(allocator, &self->allocator_index); } else { - self->allocator_index = ~0ULL; + self->allocator_index = ~(usize)0; return 0; } } |