Skip to content

Commit a93fe32

Browse files
committed
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1: Fix word alignment on ILP64.
2 parents 4f1ea03 + b5bc88c commit a93fe32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/zend_alloc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ struct _zend_mm_chunk {
283283
uint32_t free_pages; /* number of free pages */
284284
uint32_t free_tail; /* number of free pages at the end of chunk */
285285
uint32_t num;
286-
char reserve[64 - (sizeof(void*) * 3 + sizeof(int) * 3)];
286+
char reserve[64 - (sizeof(void*) * 3 + sizeof(uint32_t) * 3)];
287287
zend_mm_heap heap_slot; /* used only in main chunk */
288288
zend_mm_page_map free_map; /* 512 bits or 64 bytes */
289289
zend_mm_page_info map[ZEND_MM_PAGES]; /* 2 KB = 512 * 4 */

0 commit comments

Comments
 (0)