diff options
author | tasn <tasn> | 2012-10-23 09:54:28 +0000 |
---|---|---|
committer | tasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33> | 2012-10-23 09:54:28 +0000 |
commit | 7ee3f1a6d43d853db2352440d999282a2e236a66 (patch) | |
tree | 29af84554b345101141ea1eeaaeeb95816972ad2 | |
parent | 18e8dd263afac8a5ee7240a310cf8ac00d38a7dc (diff) | |
download | eobj-7ee3f1a6d43d853db2352440d999282a2e236a66.tar.gz eobj-7ee3f1a6d43d853db2352440d999282a2e236a66.tar.bz2 eobj-7ee3f1a6d43d853db2352440d999282a2e236a66.zip |
Eo: Fixed compilation warnings.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@78364 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33
-rw-r--r-- | src/lib/eo.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/eo.c b/src/lib/eo.c index 9944f69..4b14852 100644 --- a/src/lib/eo.c +++ b/src/lib/eo.c @@ -749,7 +749,7 @@ eo_class_funcs_set(Eo_Class *klass, const Eo_Op_Func_Description *func_descs) if (EINA_UNLIKELY(!op_desc || (itr->op == EO_NOOP))) { - ERR("Setting implementation for non-existent op %x for class '%s'. Func index: %d", itr->op, klass->desc->name, itr - func_descs); + ERR("Setting implementation for non-existent op %x for class '%s'. Func index: %lu", itr->op, klass->desc->name, (unsigned long) (itr - func_descs)); } else if (EINA_LIKELY(itr->op_type == op_desc->op_type)) { @@ -757,12 +757,12 @@ eo_class_funcs_set(Eo_Class *klass, const Eo_Op_Func_Description *func_descs) } else { - ERR("Set function's op type (%x) is different than the one in the op description (%d) for op '%s:%s'. Func index: %d", + ERR("Set function's op type (%x) is different than the one in the op description (%d) for op '%s:%s'. Func index: %lu", itr->op_type, (op_desc) ? op_desc->op_type : EO_OP_TYPE_REGULAR, klass->desc->name, (op_desc) ? op_desc->name : NULL, - itr - func_descs); + (unsigned long) (itr - func_descs)); } } } @@ -822,11 +822,11 @@ _eo_class_check_op_descs(const Eo_Class *klass) { if (itr->name) { - ERR("Wrong order in Ops description for class '%s'. Expected %x and got %x", desc->name, i, itr->sub_op); + ERR("Wrong order in Ops description for class '%s'. Expected %lx and got %lx", desc->name, (unsigned long) i, (unsigned long) itr->sub_op); } else { - ERR("Found too few Ops description for class '%s'. Expected %x descriptions, but found %x.", desc->name, desc->ops.count, i); + ERR("Found too few Ops description for class '%s'. Expected %lx descriptions, but found %lx.", desc->name, (unsigned long) desc->ops.count, (unsigned long) i); } return EINA_FALSE; } @@ -834,7 +834,7 @@ _eo_class_check_op_descs(const Eo_Class *klass) if (itr && itr->name) { - ERR("Found extra Ops description for class '%s'. Expected %d descriptions, but found more.", desc->name, desc->ops.count); + ERR("Found extra Ops description for class '%s'. Expected %lu descriptions, but found more.", desc->name, (unsigned long) desc->ops.count); return EINA_FALSE; } |