summaryrefslogtreecommitdiff
path: root/src/bin/eolian
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2014-08-21 09:25:19 +0100
committerDaniel Kolesa <d.kolesa@samsung.com>2014-08-21 09:26:06 +0100
commitfce1e61ff5a41195eb263542dccf1215b79c5300 (patch)
treef26e2d175c6f0daf4d3d220a16b9cc38ed45c65a /src/bin/eolian
parent6abb6e4adcb720e23a4021dae0e3d8214dec1a38 (diff)
eolian: fix shadow warnings
Diffstat (limited to 'src/bin/eolian')
-rw-r--r--src/bin/eolian/legacy_generator.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/eolian/legacy_generator.c b/src/bin/eolian/legacy_generator.c
index 1047a41e82..a21041e46f 100644
--- a/src/bin/eolian/legacy_generator.c
+++ b/src/bin/eolian/legacy_generator.c
@@ -258,9 +258,9 @@ _eapi_func_generate(const Eolian_Class *class, const Eolian_Function *funcid, Eo
258 if (ftype == EOLIAN_PROP_GET || eolian_function_object_is_const(funcid)) 258 if (ftype == EOLIAN_PROP_GET || eolian_function_object_is_const(funcid))
259 eina_strbuf_append(fparam, "const "); 259 eina_strbuf_append(fparam, "const ");
260 eina_strbuf_append_printf(fparam, "%s *obj", class_env.full_classname); 260 eina_strbuf_append_printf(fparam, "%s *obj", class_env.full_classname);
261 char buf[256]; 261 char cbuf[256];
262 snprintf(buf, sizeof(buf), "(%s *)obj", class_env.full_classname); 262 snprintf(cbuf, sizeof(cbuf), "(%s *)obj", class_env.full_classname);
263 eina_strbuf_replace_all(fbody, "@#eo_obj", buf); 263 eina_strbuf_replace_all(fbody, "@#eo_obj", cbuf);
264 } 264 }
265 else 265 else
266 { 266 {