From: Augustin Degomme Date: Thu, 7 May 2020 08:54:10 +0000 (+0200) Subject: try to print pointer correctly on sunos as well X-Git-Tag: v3.26~619 X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/5fbb3fe0fdfdf731e46c9ef6a80de1d66a9d729c try to print pointer correctly on sunos as well --- diff --git a/src/simix/smx_global.cpp b/src/simix/smx_global.cpp index 2f20481f40..7b83e7639f 100644 --- a/src/simix/smx_global.cpp +++ b/src/simix/smx_global.cpp @@ -250,9 +250,9 @@ void Global::display_all_actor_status() if (boost::dynamic_pointer_cast(actor->waiting_synchro) != nullptr) synchro_description = "I/O"; - XBT_INFO("Actor %ld (%s@%s): waiting for %s activity %p (%s) in state %d to finish", actor->get_pid(), + XBT_INFO("Actor %ld (%s@%s): waiting for %s activity %#zx (%s) in state %d to finish", actor->get_pid(), actor->get_cname(), actor->get_host()->get_cname(), synchro_description, - (xbt_log_no_loc ? (void*)0xDEADBEEF : actor->waiting_synchro.get()), name, + (xbt_log_no_loc ? (size_t)0xDEADBEEF : (size_t)actor->waiting_synchro.get()), name, (int)actor->waiting_synchro->state_); } else { XBT_INFO("Actor %ld (%s@%s)", actor->get_pid(), actor->get_cname(), actor->get_host()->get_cname());