From 73c40662efecd4b640f6ba7a0dc94e790eeb9b56 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 18 Jul 2020 11:30:26 +0200 Subject: Add missing const specifiers --- src/server/PortImpl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server/PortImpl.cpp') 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; -- cgit v1.2.1