aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/eg-sampler.lv2/uris.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/eg-sampler.lv2/uris.h')
-rw-r--r--plugins/eg-sampler.lv2/uris.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/eg-sampler.lv2/uris.h b/plugins/eg-sampler.lv2/uris.h
index de1cbd3..8d0a983 100644
--- a/plugins/eg-sampler.lv2/uris.h
+++ b/plugins/eg-sampler.lv2/uris.h
@@ -107,8 +107,8 @@ static inline const LV2_Atom*
read_set_file(const SamplerURIs* uris,
const LV2_Atom_Object* obj)
{
- if (obj->otype != uris->msg_Set) {
- fprintf(stderr, "Ignoring unknown message type %d\n", obj->otype);
+ if (obj->body.otype != uris->msg_Set) {
+ fprintf(stderr, "Ignoring unknown message type %d\n", obj->body.otype);
return NULL;
}