On 11/03/14 05:48, Yossi Kantor wrote: > jackdanielz pushed a commit to branch master. > > http://git.enlightenment.org/core/efl.git/commit/?id=b070981f8f16fa493489a7a2bd9d2caaaf25bbb1 > > commit b070981f8f16fa493489a7a2bd9d2caaaf25bbb1 > Author: Yossi Kantor <yossi.kan...@samsung.com> > Date: Mon Mar 10 13:35:11 2014 +0200 > > Eolian: Support of unsigned short as int in va_arg > --- > src/bin/eolian/eo1_generator.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/src/bin/eolian/eo1_generator.c b/src/bin/eolian/eo1_generator.c > index 3853a72..2f3b8e0 100644 > --- a/src/bin/eolian/eo1_generator.c > +++ b/src/bin/eolian/eo1_generator.c > @@ -331,8 +331,10 @@ _varg_upgr(const char *stype) > { > if (!strcmp(stype, "Eina_Bool") || > !strcmp(stype, "char") || > - !strcmp(stype, "short")) > + !strcmp(stype, "short") || > + !strcmp(stype, "unsigned short")) > return "int"; > + > return stype; > } > >
Hey, "unsigned" is not a size modifier. If it's "short" it should be an int. If it's "char" it should be an int as well, unsigned has nothing to do with your decision making. -- Tom. ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel