From c78311367c49ddeeffb0bae0363fd2b00ed7a8e3 Mon Sep 17 00:00:00 2001 From: thiery Date: Wed, 2 Feb 2011 10:37:26 +0000 Subject: [PATCH] A cast is needed here to avoid warnings in both 32 bit and 64 bit git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9562 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- src/surf/surf_action.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/surf/surf_action.c b/src/surf/surf_action.c index f58234b57c..7e45ac263b 100644 --- a/src/surf/surf_action.c +++ b/src/surf/surf_action.c @@ -68,7 +68,7 @@ void *surf_action_new(size_t size, double cost, surf_model_t model, { xbt_assert2(size <= action_mallocator_allocated_size, "Cannot create a surf action of size %lu: the mallocator only provides actions of size %d", - size, action_mallocator_allocated_size); + (long unsigned) size, action_mallocator_allocated_size); surf_action_t action = xbt_mallocator_get(action_mallocator); action->refcount = 1; -- 2.20.1