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
Useless cast to void*.
[simgrid.git]
/
teshsuite
/
mc
/
mutex-handling
/
mutex-handling.cpp
diff --git
a/teshsuite/mc/mutex-handling/mutex-handling.cpp
b/teshsuite/mc/mutex-handling/mutex-handling.cpp
index
162dab9
..
4e64813
100644
(file)
--- a/
teshsuite/mc/mutex-handling/mutex-handling.cpp
+++ b/
teshsuite/mc/mutex-handling/mutex-handling.cpp
@@
-48,7
+48,7
@@
static int sender(const char* box_name, simgrid::s4u::MutexPtr mutex, int value)
if (mutex)
mutex->lock();
- mb->put(
static_cast<void*>(payload)
, 8);
+ mb->put(
payload
, 8);
if (mutex)
mutex->unlock();