diff options
Diffstat (limited to 'gnu/lib/libmalloc')
| -rw-r--r-- | gnu/lib/libmalloc/ralloc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/lib/libmalloc/ralloc.c b/gnu/lib/libmalloc/ralloc.c index 78b9f62fec0..6eef29f7d4c 100644 --- a/gnu/lib/libmalloc/ralloc.c +++ b/gnu/lib/libmalloc/ralloc.c @@ -111,8 +111,8 @@ static int extra_bytes; /* Macros for rounding. Note that rounding to any value is possible by changing the definition of PAGE. */ #define PAGE (getpagesize ()) -#define ALIGNED(addr) (((unsigned int) (addr) & (page_size - 1)) == 0) -#define ROUNDUP(size) (((unsigned int) (size) + page_size - 1) & ~(page_size - 1)) +#define ALIGNED(addr) (((unsigned long) (addr) & (page_size - 1)) == 0) +#define ROUNDUP(size) (((unsigned long) (size) + page_size - 1) & ~(page_size - 1)) #define ROUND_TO_PAGE(addr) (addr & (~(page_size - 1))) /* Functions to get and return memory from the system. */ |
