e_slot.c: _e_slot_g->hash_slot_objs misuses eina_hash_pointer_new but actual key was int.
e_dnd: _drop_handlers_responsives misuses eina_hash_int32_new but actual key was uintptr_t.
due to pointer size and int size mismatch in 64bit system, these codes can makes some problem.
this patch need for prevent future problem.
please refer:
c20f36275df9536520509fe52d9e6faeeaffa67d
Change-Id: I04ad1b28da2fa5cbeff3cb7c3fdcde037f013c9a
_type_text_uri_list = eina_stringshare_add("text/uri-list");
_drop_win_hash = eina_hash_int32_new(NULL);
- _drop_handlers_responsives = eina_hash_int32_new(NULL);
+ _drop_handlers_responsives = eina_hash_pointer_new(NULL);
E_LIST_HANDLER_APPEND(_event_handlers, ECORE_EVENT_MOUSE_BUTTON_UP, _e_dnd_cb_mouse_up, NULL);
E_LIST_HANDLER_APPEND(_event_handlers, ECORE_EVENT_MOUSE_MOVE, _e_dnd_cb_mouse_move, NULL);
EINA_SAFETY_ON_NULL_RETURN(g);
- g->hash_slot_objs = eina_hash_pointer_new(NULL);
+ g->hash_slot_objs = eina_hash_int32_new(NULL);
g->hash_slot_clients = eina_hash_pointer_new(NULL);
e_client_layout_cb_set(e_slot_layout_cb);