From 2b482c74139e9088b65a3f9a0d41da0276cb641c Mon Sep 17 00:00:00 2001 From: Augustin Degomme Date: Thu, 22 Nov 2018 11:02:01 +0100 Subject: [PATCH] fix crash with tracing/smpi/display-sizes:yes --- src/instr/instr_paje_events.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/instr/instr_paje_events.cpp b/src/instr/instr_paje_events.cpp index 626fba2ed9..aef50ebd2d 100644 --- a/src/instr/instr_paje_events.cpp +++ b/src/instr/instr_paje_events.cpp @@ -91,7 +91,7 @@ void StateEvent::print() stream_ << " " << value->get_id(); if (TRACE_display_sizes()) - stream_ << " " << ((extra_ != nullptr) ? extra_->display_size() : 0); + stream_ << " " << ((extra_ != nullptr) ? extra_->display_size() : "0"); #if HAVE_SMPI if (simgrid::config::get_value("smpi/trace-call-location")) { -- 2.20.1