summaryrefslogtreecommitdiffstats
path: root/macro.h
diff options
context:
space:
mode:
authorSuper User2008-06-14 08:34:50 +0200
committerSuper User2008-06-14 08:34:50 +0200
commitd2b113f2c4f11acfaee1b2e0fd2f03744a89f6d4 (patch)
tree8c9e9504a275a43d5a8785dcca7badf28ada5999 /macro.h
parentfixed dialing-bug when dialing chan_lcr (diff)
downloadlcr-d2b113f2c4f11acfaee1b2e0fd2f03744a89f6d4.tar.gz
lcr-d2b113f2c4f11acfaee1b2e0fd2f03744a89f6d4.tar.xz
lcr-d2b113f2c4f11acfaee1b2e0fd2f03744a89f6d4.zip
changed long to int (64 bit system's compatibilty)
Diffstat (limited to 'macro.h')
-rw-r--r--macro.h2
1 files changed, 1 insertions, 1 deletions
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);