aboutsummaryrefslogtreecommitdiffstats
path: root/include/lv2/core
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-09-22 12:33:28 -0400
committerDavid Robillard <d@drobilla.net>2023-09-22 12:33:42 -0400
commiteec5a4d6cda054eb5db767f71dece42e3343b482 (patch)
tree118426d4d0ac73c433bcca1b56d9dba2dadcf359 /include/lv2/core
parent37178cf290aaaeef1a3d3608831d94ce649e0ee0 (diff)
downloadlv2-eec5a4d6cda054eb5db767f71dece42e3343b482.tar.xz
Add missing const qualifiers
Diffstat (limited to 'include/lv2/core')
-rw-r--r--include/lv2/core/lv2_util.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/lv2/core/lv2_util.h b/include/lv2/core/lv2_util.h
index 69b92e5..4e98e07 100644
--- a/include/lv2/core/lv2_util.h
+++ b/include/lv2/core/lv2_util.h
@@ -70,8 +70,8 @@ lv2_features_query(const LV2_Feature* const* features, ...)
const char* uri = NULL;
while ((uri = va_arg(args, const char*))) {
- void** data = va_arg(args, void**);
- bool required = (bool)va_arg(args, int);
+ void** data = va_arg(args, void**);
+ const bool required = (bool)va_arg(args, int);
*data = lv2_features_data(features, uri);
if (required && !*data) {