A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cosmetics in field names (and fix MC builds)
[simgrid.git]
/
src
/
mc
/
mc_record.cpp
diff --git
a/src/mc/mc_record.cpp
b/src/mc/mc_record.cpp
index
ce2bfa2
..
a8dfdb1
100644
(file)
--- a/
src/mc/mc_record.cpp
+++ b/
src/mc/mc_record.cpp
@@
-1,4
+1,4
@@
-/* Copyright (c) 2014-201
5
. The SimGrid Team.
+/* Copyright (c) 2014-201
7
. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* 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;
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);
if(count != 2 && count != 1)
throw std::runtime_error("Could not parse record path");
res.push_back(item);