diff options
author | David Robillard <d@drobilla.net> | 2013-12-24 16:49:44 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2013-12-24 16:49:44 +0000 |
commit | a6521f912b24bcf40c204303139eb2a104d5f85d (patch) | |
tree | fa101a658cc926b5387e9896667ca6658a5a62d1 /plugins/eg04-sampler.lv2/uris.h | |
parent | 391dd35265d03f3d4ebfcc2e2da28e2db6c75306 (diff) | |
download | lv2-a6521f912b24bcf40c204303139eb2a104d5f85d.tar.xz |
Fix several const violations.
Diffstat (limited to 'plugins/eg04-sampler.lv2/uris.h')
-rw-r--r-- | plugins/eg04-sampler.lv2/uris.h | 2 |
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; } |