]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Declare bit flags UL so that they will not default to int size when
authorUlrich Drepper <drepper@redhat.com>
Fri, 31 Mar 2000 05:52:47 +0000 (05:52 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 31 Mar 2000 05:52:47 +0000 (05:52 +0000)
being inverted.

malloc/malloc.c

index 645bcbe2dd4c509170c40c04a2fbd6f13ddd9514..f674f4ebfe20e4dbc422bb25040241b7fe404c62 100644 (file)
@@ -1317,11 +1317,11 @@ static void      free_atfork();
 
 /* size field is or'ed with PREV_INUSE when previous adjacent chunk in use */
 
-#define PREV_INUSE 0x1
+#define PREV_INUSE 0x1UL
 
 /* size field is or'ed with IS_MMAPPED if the chunk was obtained with mmap() */
 
-#define IS_MMAPPED 0x2
+#define IS_MMAPPED 0x2UL
 
 /* Bits to mask off when extracting size */