diff options
| author | David Soria Parra <dsp@php.net> | 2009-01-25 14:04:09 +0000 |
|---|---|---|
| committer | David Soria Parra <dsp@php.net> | 2009-01-25 14:04:09 +0000 |
| commit | 49b4865adb3adae4df63625813690e75ce86941a (patch) | |
| tree | c2047341e3d310aa75bb1c87f10d3cef561e73ce /Zend/zend_alloc.c | |
| parent | 8b52d17a9bd50ee2a69f51987758a95baccd72ce (diff) | |
| download | php-git-49b4865adb3adae4df63625813690e75ce86941a.tar.gz | |
MFH: Fix compiler warning. munmap expects a void pointer.
Diffstat (limited to 'Zend/zend_alloc.c')
| -rw-r--r-- | Zend/zend_alloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_alloc.c b/Zend/zend_alloc.c index 1caf7aebd4..bdb6ff80c2 100644 --- a/Zend/zend_alloc.c +++ b/Zend/zend_alloc.c @@ -164,7 +164,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 |
