diff options
author | David Robillard <d@drobilla.net> | 2020-07-18 11:30:26 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-07-18 11:30:26 +0200 |
commit | 73c40662efecd4b640f6ba7a0dc94e790eeb9b56 (patch) | |
tree | 8af8ff1fe875159caadb1f7b3b51025d6a537078 /src/server/PortImpl.cpp | |
parent | d4060830e427185d14e6a0787d8c2c082c9621dd (diff) | |
download | ingen-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.cpp | 2 |
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; |