From a6521f912b24bcf40c204303139eb2a104d5f85d Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 24 Dec 2013 16:49:44 +0000 Subject: Fix several const violations. --- plugins/eg04-sampler.lv2/uris.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/eg04-sampler.lv2/uris.h') 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; } -- cgit v1.2.1