mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
MFH: Fix compiler warning. munmap expects a void pointer.
This commit is contained in:
parent
8defc0474a
commit
72b20010d3
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue