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
Explicit cast.
[simgrid.git]
/
src
/
smpi
/
mpi
/
smpi_win.cpp
diff --git
a/src/smpi/mpi/smpi_win.cpp
b/src/smpi/mpi/smpi_win.cpp
index
b90cf57
..
2c7d83c
100644
(file)
--- a/
src/smpi/mpi/smpi_win.cpp
+++ b/
src/smpi/mpi/smpi_win.cpp
@@
-98,7
+98,7
@@
int Win::detach(const void* /*base*/)
void Win::get_name(char* name, int* length) const
{
- *length =
name_.length(
);
+ *length =
static_cast<int>(name_.length()
);
if (not name_.empty()) {
name_.copy(name, *length);
name[*length] = '\0';