summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>2012-01-02 11:10:25 +0000
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>2012-01-02 11:10:25 +0000
commit6a172dd4625efa2e55da8ef7e7d6866be5df6528 (patch)
treef5df9fd529aef67fefaa441e6c351cd7fd3f9e3c /src
parent578f709fa4b24f26b131148b62d7ebc81644d339 (diff)
use proper intptr type when casting for callbacks so we don't break on 64bit
SVN revision: 66742
Diffstat (limited to 'src')
-rw-r--r--src/lib/elm_cnp_helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/elm_cnp_helper.c b/src/lib/elm_cnp_helper.c
index 026a6f6cc..23cc42fe5 100644
--- a/src/lib/elm_cnp_helper.c
+++ b/src/lib/elm_cnp_helper.c
@@ -1612,7 +1612,7 @@ elm_drag_start(Evas_Object *obj, Elm_Sel_Format format, const char *data, void (
1612 ecore_x_dnd_callback_pos_update_set(_drag_move, NULL); 1612 ecore_x_dnd_callback_pos_update_set(_drag_move, NULL);
1613 ecore_x_dnd_begin(xwin, (unsigned char *)&xdnd, sizeof(Elm_Sel_Type)); 1613 ecore_x_dnd_begin(xwin, (unsigned char *)&xdnd, sizeof(Elm_Sel_Type));
1614 evas_object_event_callback_add(obj, EVAS_CALLBACK_MOUSE_UP, 1614 evas_object_event_callback_add(obj, EVAS_CALLBACK_MOUSE_UP,
1615 _drag_mouse_up, (void *)xwin); 1615 _drag_mouse_up, (uintptr_t *)xwin);
1616 1616
1617 handler_status = ecore_event_handler_add(ECORE_X_EVENT_XDND_STATUS, 1617 handler_status = ecore_event_handler_add(ECORE_X_EVENT_XDND_STATUS,
1618 _dnd_status, NULL); 1618 _dnd_status, NULL);