aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2024-07-16 22:05:36 -0400
committerDavid Robillard <d@drobilla.net>2024-07-16 22:05:36 -0400
commit70e5ebad012d13ff3443b0a5f7fb402ee3212fcb (patch)
tree2281281c20807314d08c698da3afc492c3820b04 /plugins
parent39dc2b231dae2743bceb6ebb8a3d4792307df12a (diff)
downloadlv2-70e5ebad012d13ff3443b0a5f7fb402ee3212fcb.tar.xz
Avoid narrowing casts through void
Diffstat (limited to 'plugins')
-rw-r--r--plugins/eg-sampler.lv2/uris.h2
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 */