aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/eg-sampler.lv2/uris.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-02-19 03:29:47 +0000
committerDavid Robillard <d@drobilla.net>2012-02-19 03:29:47 +0000
commit35a3120672f78c13a58ea5c947becd5bbd362caf (patch)
tree1615e2093bcc8c6192aacea14ee97de64de2eb9d /plugins/eg-sampler.lv2/uris.h
parent98f78110c6663913d25a9f58f1b45a2198bdefcf (diff)
downloadlv2-35a3120672f78c13a58ea5c947becd5bbd362caf.tar.xz
Rename LV2_Atom_Object::type => LV2_Atom_Object::otype to avoid confusion with LV2_Atom::type.
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 5ef0b9c..820b585 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->type != uris->msg_Set) {
- fprintf(stderr, "Ignoring unknown message type %d\n", obj->type);
+ if (obj->otype != uris->msg_Set) {
+ fprintf(stderr, "Ignoring unknown message type %d\n", obj->otype);
return NULL;
}