From a57a08e79133aa37372c9c997e17f63e479e792d Mon Sep 17 00:00:00 2001
From: Dmitry Stogov <dmitry@zend.com>
Date: Tue, 22 Dec 2015 21:31:28 +0300
Subject: [PATCH] Fixed incorrect setting on 32-bit systems

---
 ext/opcache/Optimizer/zend_optimizer.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ext/opcache/Optimizer/zend_optimizer.h b/ext/opcache/Optimizer/zend_optimizer.h
index f4e441790f..edd3b004a8 100644
--- a/ext/opcache/Optimizer/zend_optimizer.h
+++ b/ext/opcache/Optimizer/zend_optimizer.h
@@ -41,8 +41,8 @@
 #define ZEND_OPTIMIZER_PASS_14		(1<<13)
 #define ZEND_OPTIMIZER_PASS_15		(1<<14)  /* Collect constants */
 
-#define ZEND_OPTIMIZER_ALL_PASSES	0xFFFFFFFF
+#define ZEND_OPTIMIZER_ALL_PASSES	0x7FFFFFFF
 
-#define DEFAULT_OPTIMIZATION_LEVEL  "0xFFFFBFFF"
+#define DEFAULT_OPTIMIZATION_LEVEL  "0x7FFFBFFF"
 
 #endif
-- 
2.40.0