aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/eg04-sampler.lv2/uris.h
diff options
context:
space:
mode:
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;
}