diff options
author | David Robillard <d@drobilla.net> | 2021-03-10 13:55:56 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2021-03-10 13:55:56 -0500 |
commit | 611759daacc377a2dba97723097338fceffd6ef8 (patch) | |
tree | 5519f9bfb795b6d5e6cc97be96a91e6884f92ec9 /lv2 | |
parent | 446232eade7b08360fbadf6d16ed7a1ee7481faf (diff) | |
download | lv2-611759daacc377a2dba97723097338fceffd6ef8.tar.xz |
Fix warnings with VS2019
Diffstat (limited to 'lv2')
-rw-r--r-- | lv2/core/lv2_util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lv2/core/lv2_util.h b/lv2/core/lv2_util.h index 5dab8a0..f3766aa 100644 --- a/lv2/core/lv2_util.h +++ b/lv2/core/lv2_util.h @@ -81,7 +81,7 @@ 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 = va_arg(args, int); + bool required = (bool)va_arg(args, int); *data = lv2_features_data(features, uri); if (required && !*data) { |