diff options
author | Sara Golemon <pollita@php.net> | 2017-09-28 10:45:51 -0400 |
---|---|---|
committer | Sara Golemon <pollita@php.net> | 2017-09-28 10:45:51 -0400 |
commit | b5bc88c64ef241924b55162f9b5dc751be7e10f1 (patch) | |
tree | dc3b2cf609bb0bb9771e4466edf35f8709881614 /Zend | |
parent | db9778dfb2485f220ba584d17e45a03760d10250 (diff) | |
download | php-git-b5bc88c64ef241924b55162f9b5dc751be7e10f1.tar.gz |
Fix word alignment on ILP64.
Diffstat (limited to 'Zend')
-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 b829bd3dba..baada8f873 100644 --- a/Zend/zend_alloc.c +++ b/Zend/zend_alloc.c @@ -283,7 +283,7 @@ struct _zend_mm_chunk { uint32_t free_pages; /* number of free pages */ uint32_t free_tail; /* number of free pages at the end of chunk */ uint32_t num; - char reserve[64 - (sizeof(void*) * 3 + sizeof(int) * 3)]; + char reserve[64 - (sizeof(void*) * 3 + sizeof(uint32_t) * 3)]; zend_mm_heap heap_slot; /* used only in main chunk */ zend_mm_page_map free_map; /* 512 bits or 64 bytes */ zend_mm_page_info map[ZEND_MM_PAGES]; /* 2 KB = 512 * 4 */ |