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 e0852f0fa95709173065396a43c68058efa87a0e..bd7a33817f2a630e57a8ff19c49a6720e5d88bed 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