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
[sonar] Explicit cast when loosing precision (src/xbt/, and parts of surf/).
[simgrid.git]
/
src
/
xbt
/
xbt_virtu.cpp
diff --git
a/src/xbt/xbt_virtu.cpp
b/src/xbt/xbt_virtu.cpp
index
5902f3a
..
d2ef77c
100644
(file)
--- a/
src/xbt/xbt_virtu.cpp
+++ b/
src/xbt/xbt_virtu.cpp
@@
-12,7
+12,7
@@
int xbt_getpid()
{
const simgrid::kernel::actor::ActorImpl* self = SIMIX_process_self();
- return self == nullptr ? 0 : s
elf->get_pid(
);
+ return self == nullptr ? 0 : s
tatic_cast<int>(self->get_pid()
);
}
const char* xbt_procname(void)