Skip to content

Commit 559fc46

Browse files
devnexennikic
authored andcommitted
Fix ubsan warning on macos
Closes GH-6652.
1 parent a53e360 commit 559fc46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/opcache/shared_alloc_mmap.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ static int create_segments(size_t requested_size, zend_shared_segment ***shared_
5050
#endif
5151
#ifdef VM_MAKE_TAG
5252
/* allows tracking segments via tools such as vmmap */
53-
fd = VM_MAKE_TAG(251);
53+
fd = VM_MAKE_TAG(251U);
5454
#endif
5555
#ifdef MAP_HUGETLB
5656
size_t huge_page_size = 2 * 1024 * 1024;

0 commit comments

Comments
 (0)