From d2b113f2c4f11acfaee1b2e0fd2f03744a89f6d4 Mon Sep 17 00:00:00 2001 From: Super User Date: Sat, 14 Jun 2008 08:34:50 +0200 Subject: changed long to int (64 bit system's compatibilty) --- macro.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'macro.h') diff --git a/macro.h b/macro.h index 07921e0..ab0716c 100644 --- a/macro.h +++ b/macro.h @@ -85,7 +85,7 @@ static inline void fatal(const char *function, int line, char *fmt, ...) /* memory allocation with setting to zero */ #define MALLOC(size) _malloc(size, __FUNCTION__, __LINE__) -static inline void *_malloc(unsigned long size, const char *function, int line) +static inline void *_malloc(unsigned int size, const char *function, int line) { void *addr; addr = malloc(size); -- cgit v1.2.3-55-g7522