aboutsummaryrefslogtreecommitdiff
path: root/src/lj_alloc.c
diff options
context:
space:
mode:
authorMike Pall <mike>2020-07-02 01:24:39 +0200
committerMike Pall <mike>2020-07-02 01:24:39 +0200
commit384d6d56f4a3841fdef607a511dda92a579af2ff (patch)
treea95ad69b90ca9598141140de91850bf1d9677c1d /src/lj_alloc.c
parent18eef08fb8df11dd887b1e7e3e6f7919c6f56720 (diff)
downloadluajit-384d6d56f4a3841fdef607a511dda92a579af2ff.tar.gz
luajit-384d6d56f4a3841fdef607a511dda92a579af2ff.tar.bz2
luajit-384d6d56f4a3841fdef607a511dda92a579af2ff.zip
Fix Clang build.
Diffstat (limited to 'src/lj_alloc.c')
-rw-r--r--src/lj_alloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_alloc.c b/src/lj_alloc.c
index 2d41481d..5de60b82 100644
--- a/src/lj_alloc.c
+++ b/src/lj_alloc.c
@@ -597,7 +597,7 @@ static int has_segment_link(mstate m, msegmentptr ss)
597 noncontiguous segments are added. 597 noncontiguous segments are added.
598*/ 598*/
599#define TOP_FOOT_SIZE\ 599#define TOP_FOOT_SIZE\
600 (align_offset(chunk2mem(0))+pad_request(sizeof(struct malloc_segment))+MIN_CHUNK_SIZE) 600 (align_offset(TWO_SIZE_T_SIZES)+pad_request(sizeof(struct malloc_segment))+MIN_CHUNK_SIZE)
601 601
602/* ---------------------------- Indexing Bins ---------------------------- */ 602/* ---------------------------- Indexing Bins ---------------------------- */
603 603