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 parameter when calling MC_assert.
[simgrid.git]
/
include
/
smpi
/
mpi.h
diff --git
a/include/smpi/mpi.h
b/include/smpi/mpi.h
index
b2c6e2b
..
df033ad
100644
(file)
--- a/
include/smpi/mpi.h
+++ b/
include/smpi/mpi.h
@@
-19,7
+19,7
@@
#if SIMGRID_HAVE_MC
#undef assert
#if SIMGRID_HAVE_MC
#undef assert
-#define assert(x) MC_assert(
(int)
(x))
+#define assert(x) MC_assert(
!!
(x))
#endif
#ifdef TRACE_CALL_LOCATION /* Defined by smpicc on the command line */
#endif
#ifdef TRACE_CALL_LOCATION /* Defined by smpicc on the command line */