diff options
author | David CARLIER <devnexen@gmail.com> | 2021-01-30 09:47:52 +0000 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2021-02-01 10:25:00 +0100 |
commit | 559fc46b9fcdb014b0ac43ff0228f663ce78ccb0 (patch) | |
tree | fa39b40cba64c062ed766c0c90f31276bc1f3b26 | |
parent | a53e360d984f058e846fced1f251bcddca8d0583 (diff) | |
download | php-git-559fc46b9fcdb014b0ac43ff0228f663ce78ccb0.tar.gz |
Fix ubsan warning on macos
Closes GH-6652.
-rw-r--r-- | ext/opcache/shared_alloc_mmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/opcache/shared_alloc_mmap.c b/ext/opcache/shared_alloc_mmap.c index 389c79114a..6627633694 100644 --- a/ext/opcache/shared_alloc_mmap.c +++ b/ext/opcache/shared_alloc_mmap.c @@ -50,7 +50,7 @@ static int create_segments(size_t requested_size, zend_shared_segment ***shared_ #endif #ifdef VM_MAKE_TAG /* allows tracking segments via tools such as vmmap */ - fd = VM_MAKE_TAG(251); + fd = VM_MAKE_TAG(251U); #endif #ifdef MAP_HUGETLB size_t huge_page_size = 2 * 1024 * 1024; |