From 750031cf0c716b6d960f0d02aeec58c95a50473d Mon Sep 17 00:00:00 2001 From: cedric Date: Sun, 20 Nov 2011 14:09:17 +0000 Subject: [PATCH] edje: remove various warning. git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@65438 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/edje_lua2.c | 6 +++--- src/lib/edje_private.h | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/lib/edje_lua2.c b/src/lib/edje_lua2.c index 3d45714..0c7cf98 100644 --- a/src/lib/edje_lua2.c +++ b/src/lib/edje_lua2.c @@ -368,7 +368,7 @@ _elua_push_name(lua_State *L, char *q, int index) // Stack usage [-0, +1, e or // A simplistic scan through an identifier, it's wrong, but it's quick, // and we don't mind that it's wrong, coz this is only internal. - while (isalnum(*q)) + while (isalnum((int)*q)) q++; temp = *q; *q = '\0'; @@ -413,7 +413,7 @@ _elua_scan_params(lua_State *L, int i, Eina_Bool tr, char *params, ...) // Stac char *q; Eina_Bool get = EINA_TRUE; - while (isspace(*p)) + while (isspace((int)*p)) p++; q = p + 1; switch (*p) @@ -538,7 +538,7 @@ _elua_ret(lua_State *L, char *params, ...) // Stack usage [-2*n, char *q; Eina_Bool set = EINA_TRUE; - while (isspace(*p)) + while (isspace((int)*p)) p++; q = p + 1; switch (*p) diff --git a/src/lib/edje_private.h b/src/lib/edje_private.h index fc4aeab..e42aa6c 100644 --- a/src/lib/edje_private.h +++ b/src/lib/edje_private.h @@ -1898,8 +1898,8 @@ void _edje_external_init(); void _edje_external_shutdown(); Evas_Object *_edje_external_type_add(const char *type_name, Evas *evas, Evas_Object *parent, const Eina_List *params, const char *part_name); void _edje_external_signal_emit(Evas_Object *obj, const char *emission, const char *source); -Eina_Bool _edje_external_param_set(Evas_Object *obj, Edje_Real_Part *rp, const Edje_External_Param *param) EINA_ARG_NONNULL(1, 2); -Eina_Bool _edje_external_param_get(const Evas_Object *obj, Edje_Real_Part *rp, Edje_External_Param *param) EINA_ARG_NONNULL(1, 2); +Eina_Bool _edje_external_param_set(Evas_Object *obj, Edje_Real_Part *rp, const Edje_External_Param *param) EINA_ARG_NONNULL(2); +Eina_Bool _edje_external_param_get(const Evas_Object *obj, Edje_Real_Part *rp, Edje_External_Param *param) EINA_ARG_NONNULL(2); Evas_Object *_edje_external_content_get(const Evas_Object *obj, const char *content) EINA_ARG_NONNULL(1, 2); void _edje_external_params_free(Eina_List *params, Eina_Bool free_strings); void _edje_external_recalc_apply(Edje *ed, Edje_Real_Part *ep, -- 2.7.4