Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/build-vinum.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ jobs:

echo "::group::[$short_sha] Setup & Test"
meson setup buildir
meson configure buildir -Db_sanitize=address,undefined -Db_lundef=false
meson test -C buildir --print-errorlogs
echo "::endgroup::"

Expand Down
4 changes: 2 additions & 2 deletions subprojects/vutils_tests/allocator.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ struct allocator_case {
destroy_allocator_func_t destroy_allocator;
};

static struct vut_allocator gen_sys_allocator() {
static struct vut_allocator gen_sys_allocator(void) {
return vut_get_system_allocator();
}

static struct vut_allocator gen_arena_allocator() {
static struct vut_allocator gen_arena_allocator(void) {
struct vut_arena *arena =
vut_allocator_malloc(vut_get_system_allocator(), sizeof(*arena), 1);
*arena = vut_arena_new(vut_get_system_allocator(), DEFAULT_ALLOC_SIZE * DEFAULT_ALLOC_SIZE);
Expand Down
Loading