forked from enlightenment/enlightenment
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.
This commit is contained in:
parent
6cb25300f1
commit
c16a58d75f
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue