From: pini Date: Wed, 10 Mar 2010 20:05:01 +0000 (+0000) Subject: Some versions of gcc can be very picky. X-Git-Tag: SVN~521 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/17d4a7d5c95d752ba57150fd68955c80da3f46d7 Some versions of gcc can be very picky. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@7218 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/simix/smx_network.c b/src/simix/smx_network.c index 113c21b11c..04403d528d 100644 --- a/src/simix/smx_network.c +++ b/src/simix/smx_network.c @@ -325,7 +325,7 @@ void SIMIX_network_set_copy_data_callback(void (*callback)(smx_comm_t, size_t)) } void SIMIX_network_copy_pointer_callback(smx_comm_t comm, size_t buff_size) { - xbt_assert1((buff_size == sizeof(void*)), "Cannot copy %d bytes: must be sizeof(void*)",buff_size); + xbt_assert1((buff_size == sizeof(void*)), "Cannot copy %zu bytes: must be sizeof(void*)",buff_size); *(void**)(comm->dst_buff) = comm->src_buff; }