From 52650784331844f8a92c5e9c4ba443a468743867 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 26 May 2022 13:27:22 -0400 Subject: Suppress new warnings in clang-tidy 13 --- plugins/eg-params.lv2/state_map.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/eg-params.lv2/state_map.h') 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. -- cgit v1.2.1