forked from enlightenment/efl
eolian/generator: use size of the array instead of fixed int
This commit is contained in:
parent
94f9d106c8
commit
1eb870e3d3
|
@ -297,7 +297,7 @@ eo_header_generate(const Eolian_Class *class, Eina_Strbuf *buf)
|
|||
}
|
||||
|
||||
int i;
|
||||
for (i = 0; i < 2; i++)
|
||||
for (i = 0; i < (int)(sizeof(ftype_order) / sizeof(Eolian_Function_Type)); i++)
|
||||
{
|
||||
itr = eolian_class_functions_get(class, ftype_order[i]);
|
||||
EINA_ITERATOR_FOREACH(itr, fid)
|
||||
|
|
Loading…
Reference in New Issue