Skip to content

Commit 0576d3e

Browse files
committed
Use zend_ulong instead of zend_long
1 parent 36806fb commit 0576d3e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Zend/zend_alloc.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@
2828

2929
#ifndef CONFIG_ZEND_MM_ALIGNMENT
3030
# define ZEND_MM_ALIGNMENT Z_UL(8)
31-
# define ZEND_MM_ALIGNMENT_LOG2 Z_L(3)
31+
# define ZEND_MM_ALIGNMENT_LOG2 Z_UL(3)
3232
#elif ZEND_MM_ALIGNMENT < 4
3333
# define ZEND_MM_ALIGNMENT Z_UL(4)
34-
# define ZEND_MM_ALIGNMENT_LOG2 Z_L(2)
34+
# define ZEND_MM_ALIGNMENT_LOG2 Z_UL(2)
3535
#else
3636
# define ZEND_MM_ALIGNMENT Z_UL(CONFIG_ZEND_MM_ALIGNMENT)
37-
# define ZEND_MM_ALIGNMENT_LOG2 Z_L(CONFIG_ZEND_MM_ALIGNMENT_LOG2)
37+
# define ZEND_MM_ALIGNMENT_LOG2 Z_UL(CONFIG_ZEND_MM_ALIGNMENT_LOG2)
3838
#endif
3939

4040
#define ZEND_MM_ALIGNMENT_MASK ~(ZEND_MM_ALIGNMENT - 1)

0 commit comments

Comments
 (0)