summaryrefslogtreecommitdiff
path: root/src/bin/eolian/eo1_generator.c
diff options
context:
space:
mode:
authorYossi Kantor <yossi.kantor@samsung.com>2014-03-10 13:35:11 +0200
committerDaniel Zaoui <daniel.zaoui@samsung.com>2014-03-11 07:37:47 +0200
commitb070981f8f16fa493489a7a2bd9d2caaaf25bbb1 (patch)
tree0a2d024f37a8a9f6510fc2985a9d50869199a5e7 /src/bin/eolian/eo1_generator.c
parent44f9da675caa22bcb2e14fb24cecdf228b5b34da (diff)
Eolian: Support of unsigned short as int in va_arg
Diffstat (limited to '')
-rw-r--r--src/bin/eolian/eo1_generator.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/bin/eolian/eo1_generator.c b/src/bin/eolian/eo1_generator.c
index 3853a7219c..2f3b8e063f 100644
--- a/src/bin/eolian/eo1_generator.c
+++ b/src/bin/eolian/eo1_generator.c
@@ -331,8 +331,10 @@ _varg_upgr(const char *stype)
331{ 331{
332 if (!strcmp(stype, "Eina_Bool") || 332 if (!strcmp(stype, "Eina_Bool") ||
333 !strcmp(stype, "char") || 333 !strcmp(stype, "char") ||
334 !strcmp(stype, "short")) 334 !strcmp(stype, "short") ||
335 !strcmp(stype, "unsigned short"))
335 return "int"; 336 return "int";
337
336 return stype; 338 return stype;
337} 339}
338 340