diff options
Diffstat (limited to 'include/lv2/core/lv2_util.h')
-rw-r--r-- | include/lv2/core/lv2_util.h | 4 |
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) { |