Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Remove useless double parentheses in function calls.
[simgrid.git] / win32_test_app / include / TDefs.h
index e0852f0..bd7a338 100644 (file)
@@ -33,7 +33,7 @@ typedef int ssize_t;
 /* Asserts that a condition is true.*/
 #define ASSERT(c)                                              assert(c)
 /* Asserts that a pointer is not NULL.*/
-#define ASSERT_NOT_NULL(p)                             assert(NULL != p)
+#define ASSERT_NOT_NULL(p)                             assert(NULL != (p))
 
 /* Error number type (int) */
 #ifndef __ERRNO_TYPE_DEFINED