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
fix 32-bit builds
[simgrid.git]
/
src
/
surf
/
cpu_interface.cpp
diff --git
a/src/surf/cpu_interface.cpp
b/src/surf/cpu_interface.cpp
index
df62d8a
..
d9a6e9f
100644
(file)
--- a/
src/surf/cpu_interface.cpp
+++ b/
src/surf/cpu_interface.cpp
@@
-69,9
+69,9
@@
CpuImpl* CpuImpl::set_pstate(unsigned long pstate_index)
{
xbt_assert(
pstate_index <= speed_per_pstate_.size(),
- "Invalid parameters for CPU %s (pstate %lu > length of pstates %
lu
). Please fix your platform file, or your "
+ "Invalid parameters for CPU %s (pstate %lu > length of pstates %
d
). Please fix your platform file, or your "
"call to change the pstate.",
- get_cname(), pstate_index, s
peed_per_pstate_.size(
));
+ get_cname(), pstate_index, s
tatic_cast<int>(speed_per_pstate_.size()
));
double new_peak_speed = speed_per_pstate_[pstate_index];
pstate_ = pstate_index;