diff options
author | Tom Hacohen <tom@stosb.com> | 2012-10-23 09:56:39 +0000 |
---|---|---|
committer | Tom Hacohen <tom@stosb.com> | 2012-10-23 09:56:39 +0000 |
commit | 5b9449c540d10c3cc49f070b39a2ad76b0407636 (patch) | |
tree | 7fb270ed8dfb8b28b6efac3d061269327fcfe779 | |
parent | 86e8c4ed53c9c9f067a7837fe3c4eb784e916ba8 (diff) |
Efl eo: Fixed compilation warnings.
SVN revision: 78365
-rw-r--r-- | src/lib/eo/eo.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/eo/eo.c b/src/lib/eo/eo.c index 9944f69ed8..4b1485238a 100644 --- a/src/lib/eo/eo.c +++ b/src/lib/eo/eo.c | |||
@@ -749,7 +749,7 @@ eo_class_funcs_set(Eo_Class *klass, const Eo_Op_Func_Description *func_descs) | |||
749 | 749 | ||
750 | if (EINA_UNLIKELY(!op_desc || (itr->op == EO_NOOP))) | 750 | if (EINA_UNLIKELY(!op_desc || (itr->op == EO_NOOP))) |
751 | { | 751 | { |
752 | ERR("Setting implementation for non-existent op %x for class '%s'. Func index: %d", itr->op, klass->desc->name, itr - func_descs); | 752 | ERR("Setting implementation for non-existent op %x for class '%s'. Func index: %lu", itr->op, klass->desc->name, (unsigned long) (itr - func_descs)); |
753 | } | 753 | } |
754 | else if (EINA_LIKELY(itr->op_type == op_desc->op_type)) | 754 | else if (EINA_LIKELY(itr->op_type == op_desc->op_type)) |
755 | { | 755 | { |
@@ -757,12 +757,12 @@ eo_class_funcs_set(Eo_Class *klass, const Eo_Op_Func_Description *func_descs) | |||
757 | } | 757 | } |
758 | else | 758 | else |
759 | { | 759 | { |
760 | ERR("Set function's op type (%x) is different than the one in the op description (%d) for op '%s:%s'. Func index: %d", | 760 | ERR("Set function's op type (%x) is different than the one in the op description (%d) for op '%s:%s'. Func index: %lu", |
761 | itr->op_type, | 761 | itr->op_type, |
762 | (op_desc) ? op_desc->op_type : EO_OP_TYPE_REGULAR, | 762 | (op_desc) ? op_desc->op_type : EO_OP_TYPE_REGULAR, |
763 | klass->desc->name, | 763 | klass->desc->name, |
764 | (op_desc) ? op_desc->name : NULL, | 764 | (op_desc) ? op_desc->name : NULL, |
765 | itr - func_descs); | 765 | (unsigned long) (itr - func_descs)); |
766 | } | 766 | } |
767 | } | 767 | } |
768 | } | 768 | } |
@@ -822,11 +822,11 @@ _eo_class_check_op_descs(const Eo_Class *klass) | |||
822 | { | 822 | { |
823 | if (itr->name) | 823 | if (itr->name) |
824 | { | 824 | { |
825 | ERR("Wrong order in Ops description for class '%s'. Expected %x and got %x", desc->name, i, itr->sub_op); | 825 | ERR("Wrong order in Ops description for class '%s'. Expected %lx and got %lx", desc->name, (unsigned long) i, (unsigned long) itr->sub_op); |
826 | } | 826 | } |
827 | else | 827 | else |
828 | { | 828 | { |
829 | ERR("Found too few Ops description for class '%s'. Expected %x descriptions, but found %x.", desc->name, desc->ops.count, i); | 829 | 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); |
830 | } | 830 | } |
831 | return EINA_FALSE; | 831 | return EINA_FALSE; |
832 | } | 832 | } |
@@ -834,7 +834,7 @@ _eo_class_check_op_descs(const Eo_Class *klass) | |||
834 | 834 | ||
835 | if (itr && itr->name) | 835 | if (itr && itr->name) |
836 | { | 836 | { |
837 | ERR("Found extra Ops description for class '%s'. Expected %d descriptions, but found more.", desc->name, desc->ops.count); | 837 | ERR("Found extra Ops description for class '%s'. Expected %lu descriptions, but found more.", desc->name, (unsigned long) desc->ops.count); |
838 | return EINA_FALSE; | 838 | return EINA_FALSE; |
839 | } | 839 | } |
840 | 840 | ||