diff -r 022fbd4bc057 -r 19379743e5a0 src/cx/collection.h --- a/src/cx/collection.h Sun Apr 09 19:37:00 2023 +0200 +++ b/src/cx/collection.h Sun Apr 09 20:00:44 2023 +0200 @@ -112,7 +112,7 @@ * @param e the element */ #define cx_invoke_simple_destructor(c, e) \ - (c)->simple_destructor((c)->store_pointer ? (*((void **) e)) : e) + (c)->simple_destructor((c)->store_pointer ? (*((void **) (e))) : (e)) /** * Invokes the advanced destructor function for a specific element. @@ -125,7 +125,7 @@ */ #define cx_invoke_advanced_destructor(c, e) \ (c)->advanced_destructor((c)->destructor_data, \ - (c)->store_pointer ? (*((void **) e)) : e) + (c)->store_pointer ? (*((void **) (e))) : (e)) #define cx_invoke_destructor(c, e) \