From a5067a1853b490e9c551ac2ff7c4cb58a9bb3f48 Mon Sep 17 00:00:00 2001 From: Dai Sato Date: Thu, 22 Nov 2001 17:52:28 +0000 Subject: w3m-0.2.2-inu-1.1 source --- gc/include/leak_detector.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gc/include/leak_detector.h') diff --git a/gc/include/leak_detector.h b/gc/include/leak_detector.h index 6786825..0674ab4 100644 --- a/gc/include/leak_detector.h +++ b/gc/include/leak_detector.h @@ -1,7 +1,7 @@ #define GC_DEBUG #include "gc.h" #define malloc(n) GC_MALLOC(n) -#define calloc(m,n) GC_MALLOC(m*n) +#define calloc(m,n) GC_MALLOC((m)*(n)) #define free(p) GC_FREE(p) -#define realloc(p,n) GC_REALLOC(n) +#define realloc(p,n) GC_REALLOC((p),(n)) #define CHECK_LEAKS() GC_gcollect() -- cgit v1.2.3