Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
C99 allows us to put %zu after all
authorthiery <thiery@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 2 Feb 2011 16:50:10 +0000 (16:50 +0000)
committerthiery <thiery@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 2 Feb 2011 16:50:10 +0000 (16:50 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9565 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/surf/surf_action.c

index 7e45ac2..175fe69 100644 (file)
@@ -67,8 +67,8 @@ void *surf_action_new(size_t size, double cost, surf_model_t model,
                       int failed)
 {
   xbt_assert2(size <= action_mallocator_allocated_size,
-      "Cannot create a surf action of size %lu: the mallocator only provides actions of size %d",
-      (long unsigned) size, action_mallocator_allocated_size);
+      "Cannot create a surf action of size %zu: the mallocator only provides actions of size %d",
+      size, action_mallocator_allocated_size);
 
   surf_action_t action = xbt_mallocator_get(action_mallocator);
   action->refcount = 1;