Fixes #169 ("flood of warnings building dlmalloc_ext_2_8_6.c on clang11")

This commit is contained in:
Ion Gaztañaga
2020-10-31 18:55:09 +01:00
parent 05bc4e7b9a
commit 3e09b67f76

View File

@@ -2726,7 +2726,7 @@ static int has_segment_link(mstate m, msegmentptr ss) {
noncontiguous segments are added. noncontiguous segments are added.
*/ */
#define TOP_FOOT_SIZE\ #define TOP_FOOT_SIZE\
(align_offset(chunk2mem(0))+pad_request(sizeof(struct malloc_segment))+MIN_CHUNK_SIZE) (align_offset(TWO_SIZE_T_SIZES)+pad_request(sizeof(struct malloc_segment))+MIN_CHUNK_SIZE)
/* ------------------------------- Hooks -------------------------------- */ /* ------------------------------- Hooks -------------------------------- */