mirror of
https://github.com/microsoft/mimalloc.git
synced 2024-12-27 13:33:18 +08:00
fix semicolon (#247)
This commit is contained in:
parent
4f020e5da4
commit
bf6b781e40
@ -427,7 +427,7 @@ static size_t mi_segment_size(size_t capacity, size_t required, size_t* pre_size
|
|||||||
guardsize = page_size;
|
guardsize = page_size;
|
||||||
required = _mi_align_up(required, page_size);
|
required = _mi_align_up(required, page_size);
|
||||||
}
|
}
|
||||||
;
|
|
||||||
if (info_size != NULL) *info_size = isize;
|
if (info_size != NULL) *info_size = isize;
|
||||||
if (pre_size != NULL) *pre_size = isize + guardsize;
|
if (pre_size != NULL) *pre_size = isize + guardsize;
|
||||||
return (required==0 ? MI_SEGMENT_SIZE : _mi_align_up( required + isize + 2*guardsize, MI_PAGE_HUGE_ALIGN) );
|
return (required==0 ? MI_SEGMENT_SIZE : _mi_align_up( required + isize + 2*guardsize, MI_PAGE_HUGE_ALIGN) );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user