aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/eg04-sampler.lv2/uris.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2013-12-24 16:49:44 +0000
committerDavid Robillard <d@drobilla.net>2013-12-24 16:49:44 +0000
commita6521f912b24bcf40c204303139eb2a104d5f85d (patch)
treefa101a658cc926b5387e9896667ca6658a5a62d1 /plugins/eg04-sampler.lv2/uris.h
parent391dd35265d03f3d4ebfcc2e2da28e2db6c75306 (diff)
downloadlv2-a6521f912b24bcf40c204303139eb2a104d5f85d.tar.xz
Fix several const violations.
Diffstat (limited to 'plugins/eg04-sampler.lv2/uris.h')
-rw-r--r--plugins/eg04-sampler.lv2/uris.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/eg04-sampler.lv2/uris.h b/plugins/eg04-sampler.lv2/uris.h
index e2ec6d0..1c00280 100644
--- a/plugins/eg04-sampler.lv2/uris.h
+++ b/plugins/eg04-sampler.lv2/uris.h
@@ -120,7 +120,7 @@ read_set_file(const SamplerURIs* uris,
} else if (property->type != uris->atom_URID) {
fprintf(stderr, "Malformed set message has non-URID property.\n");
return NULL;
- } else if (((LV2_Atom_URID*)property)->body != uris->eg_sample) {
+ } else if (((const LV2_Atom_URID*)property)->body != uris->eg_sample) {
fprintf(stderr, "Set message for unknown property.\n");
return NULL;
}