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/Buffer.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server/Buffer.hpp') diff --git a/src/server/Buffer.hpp b/src/server/Buffer.hpp index c67f9fd7..1cbb0f29 100644 --- a/src/server/Buffer.hpp +++ b/src/server/Buffer.hpp @@ -116,7 +116,7 @@ public: if (is_audio() || is_control()) { return samples()[offset]; } else if (_value_buffer) { - return ((LV2_Atom_Float*)value())->body; + return ((const LV2_Atom_Float*)value())->body; } return 0.0f; } -- cgit v1.2.1