aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/eg-params.lv2
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-05-26 13:27:22 -0400
committerDavid Robillard <d@drobilla.net>2022-05-26 13:27:22 -0400
commit52650784331844f8a92c5e9c4ba443a468743867 (patch)
treed3e5477eeb641344466d2994b1d052defff69f36 /plugins/eg-params.lv2
parentec24b754f1fa81f05b011a444a1dd8d67d066d31 (diff)
downloadlv2-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.h2
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.