diff options
author | David Robillard <d@drobilla.net> | 2024-10-06 13:57:47 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2024-10-06 13:57:47 -0400 |
commit | 5309d0fcc9ef1a01ce9d0e3631ae45eb86a28740 (patch) | |
tree | d4b73d4903b3a196a365968a1ab3d3a9ed9849f4 /test/test_atom.c | |
parent | 447b44c67368a4e1686d1db2688e5624a63cd0f4 (diff) | |
download | lv2-5309d0fcc9ef1a01ce9d0e3631ae45eb86a28740.tar.xz |
Add missing const qualifiers
Diffstat (limited to 'test/test_atom.c')
-rw-r--r-- | test/test_atom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_atom.c b/test/test_atom.c index 421063e..ffe73a1 100644 --- a/test/test_atom.c +++ b/test/test_atom.c @@ -186,7 +186,7 @@ main(void) LV2_Atom_Vector* vector = (LV2_Atom_Vector*)lv2_atom_forge_deref( &forge, lv2_atom_forge_vector(&forge, sizeof(int32_t), forge.Int, 4, elems)); - void* vec_body = LV2_ATOM_CONTENTS(LV2_Atom_Vector, vector); + const void* vec_body = LV2_ATOM_CONTENTS_CONST(LV2_Atom_Vector, vector); if (!!memcmp(elems, vec_body, sizeof(elems))) { return test_fail("Corrupt vector\n"); } |