From 5172762dd6179888785802fc62cf394842620cd4 Mon Sep 17 00:00:00 2001 From: Augustin Degomme Date: Sun, 1 Dec 2019 22:22:27 +0100 Subject: [PATCH] oops, this bit wasn't meant to be reverted. --- include/smpi/smpi_helpers.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/smpi/smpi_helpers.h b/include/smpi/smpi_helpers.h index 8c47f828ea..5772c93737 100644 --- a/include/smpi/smpi_helpers.h +++ b/include/smpi/smpi_helpers.h @@ -33,8 +33,8 @@ #define getopt_long(x, y, z, a, b) smpi_getopt_long((x), (y), (z), (a), (b)) #define getopt_long_only(x, y, z, a, b) smpi_getopt_long_only((x), (y), (z), (a), (b)) #ifndef SMPI_NO_OVERRIDE_MALLOC -#define malloc(x) smpi_shared_malloc_intercept(x, __FILE__, __LINE__) -#define calloc(x,y) smpi_shared_calloc_intercept(x,y, __FILE__, __LINE__) +#define malloc(x) smpi_shared_malloc_intercept((x), __FILE__, __LINE__) +#define calloc(x, y) smpi_shared_calloc_intercept((x), (y), __FILE__, __LINE__) #define free(x) smpi_shared_free(x) #endif #endif -- 2.20.1