summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Zend/zend_constants.h2
-rw-r--r--Zend/zend_operators.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend_constants.h b/Zend/zend_constants.h
index aedcc16b6d..b587f471ff 100644
--- a/Zend/zend_constants.h
+++ b/Zend/zend_constants.h
@@ -27,7 +27,7 @@
#define CONST_CS (1<<0) /* Case Sensitive */
#define CONST_PERSISTENT (1<<1) /* Persistent */
-#define PHP_USER_CONSTANT LONG_MAX /* a constant defined in user space */
+#define PHP_USER_CONSTANT INT_MAX /* a constant defined in user space */
typedef struct _zend_constant {
zval value;
diff --git a/Zend/zend_operators.h b/Zend/zend_operators.h
index d57214f018..6ec32b5dea 100644
--- a/Zend/zend_operators.h
+++ b/Zend/zend_operators.h
@@ -34,7 +34,7 @@
#include "ext/bcmath/libbcmath/src/bcmath.h"
#endif
-#define MAX_LENGTH_OF_LONG 18
+#define MAX_LENGTH_OF_LONG 20
#define MAX_LENGTH_OF_DOUBLE 32
BEGIN_EXTERN_C()