From 1cbcf4e4f86b3e868cec812f8651c8d1670272b0 Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Tue, 12 Mar 2013 11:21:21 +0000 Subject: [PATCH] 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 faef268ea1..c936f99ab0 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);