cedric pushed a commit to branch master.
commit e07a7ac891a7c3ad9451ce4a1de2f3fb50c01f92
Author: Cedric BAIL <[email protected]>
Date: Tue Mar 12 20:08:42 2013 +0900
eo: 32bits should be enough for any sane object size.
---
src/lib/eo/eo.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/lib/eo/eo.c b/src/lib/eo/eo.c
index 83d98a3..faef268 100644
--- a/src/lib/eo/eo.c
+++ b/src/lib/eo/eo.c
@@ -108,10 +108,10 @@ struct _Eo_Class
const Eo_Class **mro;
Eo_Kls_Itr mro_itr;
- size_t extn_data_size;
- size_t chain_size;
- size_t base_id;
- size_t data_offset; /* < Offset of the data within object data. */
+ unsigned int extn_data_size;
+ unsigned int chain_size;
+ unsigned int base_id;
+ unsigned int data_offset; /* < Offset of the data within object data. */
Eina_Bool constructed : 1;
};
@@ -1064,7 +1064,7 @@ eo_class_new(const Eo_Class_Description *desc, const
Eo_Class *parent, ...)
if (getenv("EO_DEBUG"))
{
- fprintf(stderr, "Eo class '%s' will take %i bytes per object.\n",
+ fprintf(stderr, "Eo class '%s' will take %d bytes per object.\n",
desc->name,
klass->data_offset + EO_ALIGN_SIZE(klass->desc->data_size) +
klass->extn_data_size);
}
--
------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the
endpoint security space. For insight on selecting the right partner to
tackle endpoint security challenges, access the full report.
http://p.sf.net/sfu/symantec-dev2dev