X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d33e7a563a884247bff85406dcc589a70a162e79..4be24d86416854b0f898f8058b88a4d22c8bcb8e:/src/mc/mc_record.cpp diff --git a/src/mc/mc_record.cpp b/src/mc/mc_record.cpp index ce2bfa2cba..a8dfdb11da 100644 --- a/src/mc/mc_record.cpp +++ b/src/mc/mc_record.cpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2014-2015. The SimGrid Team. +/* Copyright (c) 2014-2017. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -86,7 +86,7 @@ RecordTrace parseRecordTrace(const char* data) while (*current) { simgrid::mc::Transition item; - int count = sscanf(current, "%u/%u", &item.pid, &item.argument); + int count = sscanf(current, "%d/%d", &item.pid, &item.argument); if(count != 2 && count != 1) throw std::runtime_error("Could not parse record path"); res.push_back(item);