summaryrefslogtreecommitdiffstats
path: root/src/server/PortImpl.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-07-18 11:30:26 +0200
committerDavid Robillard <d@drobilla.net>2020-07-18 11:30:26 +0200
commit73c40662efecd4b640f6ba7a0dc94e790eeb9b56 (patch)
tree8af8ff1fe875159caadb1f7b3b51025d6a537078 /src/server/PortImpl.cpp
parentd4060830e427185d14e6a0787d8c2c082c9621dd (diff)
downloadingen-73c40662efecd4b640f6ba7a0dc94e790eeb9b56.tar.gz
ingen-73c40662efecd4b640f6ba7a0dc94e790eeb9b56.tar.bz2
ingen-73c40662efecd4b640f6ba7a0dc94e790eeb9b56.zip
Add missing const specifiers
Diffstat (limited to 'src/server/PortImpl.cpp')
-rw-r--r--src/server/PortImpl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/PortImpl.cpp b/src/server/PortImpl.cpp
index 5161750d..87022c27 100644
--- a/src/server/PortImpl.cpp
+++ b/src/server/PortImpl.cpp
@@ -494,7 +494,7 @@ PortImpl::monitor(RunContext& context, bool send_now)
} else if (value && value->type == _bufs.uris().atom_Float) {
/* Float sequence, monitor as a control. */
key = uris.ingen_value;
- val = ((LV2_Atom_Float*)buffer(0)->value())->body;
+ val = ((const LV2_Atom_Float*)buffer(0)->value())->body;
} else if (atom->size > sizeof(LV2_Atom_Sequence_Body)) {
/* General sequence, send activity for blinkenlights. */
const int32_t one = 1;