diff options
author | David Robillard <d@drobilla.net> | 2024-07-16 22:05:36 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2024-07-16 22:05:36 -0400 |
commit | 70e5ebad012d13ff3443b0a5f7fb402ee3212fcb (patch) | |
tree | 2281281c20807314d08c698da3afc492c3820b04 /plugins | |
parent | 39dc2b231dae2743bceb6ebb8a3d4792307df12a (diff) | |
download | lv2-70e5ebad012d13ff3443b0a5f7fb402ee3212fcb.tar.xz |
Avoid narrowing casts through void
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/eg-sampler.lv2/uris.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/eg-sampler.lv2/uris.h b/plugins/eg-sampler.lv2/uris.h index f934390..3d3ac10 100644 --- a/plugins/eg-sampler.lv2/uris.h +++ b/plugins/eg-sampler.lv2/uris.h @@ -164,7 +164,7 @@ read_set_file(const SamplerURIs* uris, const LV2_Atom_Object* obj) return NULL; } - return (const char*)LV2_ATOM_BODY_CONST(value); + return (const char*)&value[1]; } #endif /* SAMPLER_URIS_H */ |