From c16a58d75f69529cfba4ce6d13596c31bcc6c02e Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Fri, 20 Sep 2019 10:54:12 +0100 Subject: [PATCH] warn - silence invalid alignment warning these potrs are to structs we malloc thus will be universally aligned for all data so... not valid. throw in a void * cast to do that. --- src/bin/e_actions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/e_actions.c b/src/bin/e_actions.c index f0b954007..7de7bf79d 100644 --- a/src/bin/e_actions.c +++ b/src/bin/e_actions.c @@ -1360,7 +1360,7 @@ _e_actions_zone_get(E_Object *obj) else if (obj->type == (int)E_CLIENT_TYPE) return ((E_Client *)(void *)obj)->zone; else if (obj->type == (int)E_SHELF_TYPE) - return ((E_Shelf *)obj)->zone; + return ((E_Shelf *)(void *)obj)->zone; else if (e_obj_is_win(obj)) return e_win_client_get((void*)obj)->zone; }