From f2b857dcb3607611b2faf65c8afcdb57c19d7e36 Mon Sep 17 00:00:00 2001 From: Daniel Zaoui Date: Wed, 2 Apr 2014 10:08:27 +0300 Subject: [PATCH] Eolian: fix warnings. --- src/bin/eolian/legacy_generator.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/eolian/legacy_generator.c b/src/bin/eolian/legacy_generator.c index 21293078ab..8f605f9244 100644 --- a/src/bin/eolian/legacy_generator.c +++ b/src/bin/eolian/legacy_generator.c @@ -58,10 +58,10 @@ _eapi_decl_func_generate(const char *classname, Eolian_Function funcid, Eolian_F func_lpref = eolian_function_data_get(funcid, EOLIAN_LEGACY_GET); if (!rettype) { - const Eina_List *l = eolian_parameters_list_get(funcid); + l = eolian_parameters_list_get(funcid); if (eina_list_count(l) == 1) { - void* data = eina_list_data_get(l); + data = eina_list_data_get(l); eolian_parameter_information_get((Eolian_Function_Parameter)data, NULL, &rettype, NULL, NULL); var_as_ret = EINA_TRUE; }