MFH: Fix compiler warning. munmap expects a void pointer.

This commit is contained in:
David Soria Parra 2009-01-25 14:03:09 +00:00
parent 8defc0474a
commit 72b20010d3

View File

@ -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