From cf028c1d9dd902877a8233ddb2153c7220b2d063 Mon Sep 17 00:00:00 2001 From: seoz Date: Sun, 29 Jan 2012 13:39:07 +0000 Subject: [PATCH] =?utf8?q?ecore=20ecore=5Fimf=5Fcontext.c:=20Fixed=20build?= =?utf8?q?=20warnings.=20ecore=5Fimf=5Fcontext.c:=20In=20function=20?= =?utf8?q?=E2=80=98ecore=5Fimf=5Fcontext=5Fevent=5Fcallback=5Fdel=E2=80=99?= =?utf8?q?:=20ecore=5Fimf=5Fcontext.c:1099:9:=20warning:=20=E2=80=98return?= =?utf8?q?=E2=80=99=20with=20no=20value,=20in=20function=20returning=20non?= =?utf8?q?-void=20ecore=5Fimf=5Fcontext.c:1109:26:=20warning:=20initializa?= =?utf8?q?tion=20discards=20qualifiers=20from=20pointer=20target=20type?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@67585 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/ecore_imf/ecore_imf_context.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/ecore_imf/ecore_imf_context.c b/src/lib/ecore_imf/ecore_imf_context.c index b65ee26..68d3eb6 100644 --- a/src/lib/ecore_imf/ecore_imf_context.c +++ b/src/lib/ecore_imf/ecore_imf_context.c @@ -1096,7 +1096,7 @@ ecore_imf_context_event_callback_del(Ecore_IMF_Context *ctx, Ecore_IMF_Callback_ { ECORE_MAGIC_FAIL(ctx, ECORE_MAGIC_CONTEXT, "ecore_imf_context_event_callback_del"); - return; + return NULL; } if (!func) return NULL; @@ -1106,7 +1106,7 @@ ecore_imf_context_event_callback_del(Ecore_IMF_Context *ctx, Ecore_IMF_Callback_ { if ((fn) && (fn->func == func) && (fn->type == type)) { - void *tmp = fn->data; + void *tmp = (void *)fn->data; free(fn); ctx->callbacks = eina_list_remove_list(ctx->callbacks, l); return tmp; -- 2.7.4