summaryrefslogtreecommitdiff
path: root/src/bin/eolian
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2014-08-28 09:55:41 +0100
committerDaniel Kolesa <d.kolesa@samsung.com>2014-08-28 09:55:41 +0100
commit14d67f31d0fe192de01cb2356e60ef3ffd6d4aba (patch)
treec147764cb7c6fcc6775f92dafdcdc1e2a03a85da /src/bin/eolian
parent1eb870e3d340d6f75163b68ab2d89363bb6ac42c (diff)
eolian: use EINA_C_ARRAY_LENGTH
Diffstat (limited to 'src/bin/eolian')
-rw-r--r--src/bin/eolian/eo_generator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/eolian/eo_generator.c b/src/bin/eolian/eo_generator.c
index 759fe2917d..9826d4ae72 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)
297 } 297 }
298 298
299 int i; 299 int i;
300 for (i = 0; i < (int)(sizeof(ftype_order) / sizeof(Eolian_Function_Type)); i++) 300 for (i = 0; i < (int)EINA_C_ARRAY_LENGTH(ftype_order); i++)
301 { 301 {
302 itr = eolian_class_functions_get(class, ftype_order[i]); 302 itr = eolian_class_functions_get(class, ftype_order[i]);
303 EINA_ITERATOR_FOREACH(itr, fid) 303 EINA_ITERATOR_FOREACH(itr, fid)