Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix parameter when calling MC_assert.
[simgrid.git] / include / smpi / mpi.h
index b2c6e2b..df033ad 100644 (file)
@@ -19,7 +19,7 @@
 
 #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 */