From: discomfitor Date: Mon, 2 Jan 2012 11:10:25 +0000 (+0000) Subject: use proper intptr type when casting for callbacks so we don't break on 64bit X-Git-Tag: REL_F_I9500_20120323_1~17^2~984 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bf15c2577c3aa293b1a238179ae759fdc4a13145;p=framework%2Fuifw%2Felementary.git use proper intptr type when casting for callbacks so we don't break on 64bit git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@66742 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/elm_cnp_helper.c b/src/lib/elm_cnp_helper.c index 026a6f6..23cc42f 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 ( ecore_x_dnd_callback_pos_update_set(_drag_move, NULL); ecore_x_dnd_begin(xwin, (unsigned char *)&xdnd, sizeof(Elm_Sel_Type)); evas_object_event_callback_add(obj, EVAS_CALLBACK_MOUSE_UP, - _drag_mouse_up, (void *)xwin); + _drag_mouse_up, (uintptr_t *)xwin); handler_status = ecore_event_handler_add(ECORE_X_EVENT_XDND_STATUS, _dnd_status, NULL);