diff options
author | David Robillard <d@drobilla.net> | 2022-05-26 13:24:17 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-05-26 13:24:17 -0400 |
commit | 0744f58d5fc995009a22466299cbe92ba4be4d60 (patch) | |
tree | ec0c846a2e3ab0782c26df549faa723b084cdb0d /utils/lv2bench.c | |
parent | 7f723b48680fdb6a1575ea00aa03714ba811626b (diff) | |
download | lilv-0744f58d5fc995009a22466299cbe92ba4be4d60.tar.gz lilv-0744f58d5fc995009a22466299cbe92ba4be4d60.tar.bz2 lilv-0744f58d5fc995009a22466299cbe92ba4be4d60.zip |
Suppress new warnings in clang-tidy 13
Diffstat (limited to 'utils/lv2bench.c')
-rw-r--r-- | utils/lv2bench.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/lv2bench.c b/utils/lv2bench.c index c355727..26f52d1 100644 --- a/utils/lv2bench.c +++ b/utils/lv2bench.c @@ -79,7 +79,7 @@ bench(const LilvPlugin* p, uint32_t sample_count, uint32_t block_size) LV2_Feature unmap_feature = {LV2_URID_UNMAP_URI, &unmap}; const LV2_Feature* features[] = {&map_feature, &unmap_feature, NULL}; - float* const buf = (float*)calloc(block_size * 2, sizeof(float)); + float* const buf = (float*)calloc(block_size * 2ul, sizeof(float)); float* const in = buf; float* const out = buf + block_size; if (!buf) { |