diff options
author | David Robillard <d@drobilla.net> | 2022-05-26 13:27:22 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-05-26 13:27:22 -0400 |
commit | 52650784331844f8a92c5e9c4ba443a468743867 (patch) | |
tree | d3e5477eeb641344466d2994b1d052defff69f36 /plugins/eg-params.lv2 | |
parent | ec24b754f1fa81f05b011a444a1dd8d67d066d31 (diff) | |
download | lv2-52650784331844f8a92c5e9c4ba443a468743867.tar.xz |
Suppress new warnings in clang-tidy 13
Diffstat (limited to 'plugins/eg-params.lv2')
-rw-r--r-- | plugins/eg-params.lv2/state_map.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/eg-params.lv2/state_map.h b/plugins/eg-params.lv2/state_map.h index f534f60..4a00d2f 100644 --- a/plugins/eg-params.lv2/state_map.h +++ b/plugins/eg-params.lv2/state_map.h @@ -48,7 +48,7 @@ state_map_cmp(const void* a, const void* b) /** Helper macro for terse state map initialisation. */ #define STATE_MAP_INIT(type, ptr) \ - (LV2_ATOM__##type), (sizeof(*ptr) - sizeof(LV2_Atom)), (ptr) + (LV2_ATOM__##type), (sizeof(*(ptr)) - sizeof(LV2_Atom)), (ptr) /** Initialise a state map. |