mirror of
https://github.com/php/php-src.git
synced 2025-01-26 21:54:16 +08:00
MFH: Fix compiler warning. munmap expects a void pointer.
This commit is contained in:
parent
8defc0474a
commit
72b20010d3
@ -162,7 +162,7 @@ static zend_mm_segment* zend_mm_mem_mmap_realloc(zend_mm_storage *storage, zend_
|
||||
|
||||
static void zend_mm_mem_mmap_free(zend_mm_storage *storage, zend_mm_segment* segment)
|
||||
{
|
||||
munmap(segment, segment->size);
|
||||
munmap((void*)segment, segment->size);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user