That's why we should always use EINA_C_ARRAY_LENGTH(), like in Daniel's fix. :)
-- Tom. On 28/08/14 00:45, Carsten Haitzler wrote: > raster pushed a commit to branch master. > > http://git.enlightenment.org/core/efl.git/commit/?id=94f9d106c8e0480434caa9dd3342b237dcf6722e > > commit 94f9d106c8e0480434caa9dd3342b237dcf6722e > Author: Carsten Haitzler (Rasterman) <[email protected]> > Date: Thu Aug 28 08:44:27 2014 +0900 > > eolian generator - fix num of types handled > > there are only 2 types in the ftype array... not 3! > > fix CID 1232782 > --- > src/bin/eolian/eo_generator.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/src/bin/eolian/eo_generator.c b/src/bin/eolian/eo_generator.c > index f3ee216..4d0f838 100644 > --- a/src/bin/eolian/eo_generator.c > +++ b/src/bin/eolian/eo_generator.c > @@ -297,7 +297,7 @@ eo_header_generate(const Eolian_Class *class, Eina_Strbuf > *buf) > } > > int i; > - for (i = 0; i < 3; i++) > + for (i = 0; i < 2; i++) > { > itr = eolian_class_functions_get(class, ftype_order[i]); > EINA_ITERATOR_FOREACH(itr, fid) > ------------------------------------------------------------------------------ Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
