tasn pushed a commit to branch master.

commit 1cbcf4e4f86b3e868cec812f8651c8d1670272b0
Author: Tom Hacohen <[email protected]>
Date:   Tue Mar 12 11:21:21 2013 +0000

    Eo: Fixed compilation warning.
    
    Cedric: I love it that you don't test your fixes. :).
---
 src/lib/eo/eo.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lib/eo/eo.c b/src/lib/eo/eo.c
index faef268..c936f99 100644
--- a/src/lib/eo/eo.c
+++ b/src/lib/eo/eo.c
@@ -1064,9 +1064,9 @@ eo_class_new(const Eo_Class_Description *desc, const 
Eo_Class *parent, ...)
 
    if (getenv("EO_DEBUG"))
      {
-        fprintf(stderr, "Eo class '%s' will take %d bytes per object.\n",
+        fprintf(stderr, "Eo class '%s' will take %u bytes per object.\n",
                 desc->name,
-                klass->data_offset + EO_ALIGN_SIZE(klass->desc->data_size) + 
klass->extn_data_size);
+                (unsigned int) (klass->data_offset + 
EO_ALIGN_SIZE(klass->desc->data_size) + klass->extn_data_size));
      }
 
    va_end(p_list);

-- 

------------------------------------------------------------------------------
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

Reply via email to