summaryrefslogtreecommitdiff
path: root/Zend/zend_operators.h
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2014-08-25 21:20:44 +0200
committerAnatol Belski <ab@php.net>2014-08-25 21:20:44 +0200
commit28b7a033185478839c511551ce2344e459e7f880 (patch)
tree4db8d1c1d9def45116e626a6cf5ceb7f381a643d /Zend/zend_operators.h
parent455741fce3c4f4392deb97775cba7a39f6490271 (diff)
downloadphp-git-28b7a033185478839c511551ce2344e459e7f880.tar.gz
master renamings phase 5
Diffstat (limited to 'Zend/zend_operators.h')
-rw-r--r--Zend/zend_operators.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend_operators.h b/Zend/zend_operators.h
index 7e6e8b9772..def3db0cf2 100644
--- a/Zend/zend_operators.h
+++ b/Zend/zend_operators.h
@@ -73,7 +73,7 @@ END_EXTERN_C()
#if ZEND_DVAL_TO_LVAL_CAST_OK
# define zend_dval_to_lval(d) ((zend_long) (d))
-#elif SIZEOF_ZEND_INT == 4
+#elif SIZEOF_ZEND_LONG == 4
static zend_always_inline zend_long zend_dval_to_lval(double d)
{
if (d > ZEND_LONG_MAX || d < ZEND_LONG_MIN) {
@@ -202,7 +202,7 @@ check_digits:
dp_or_e = -1;
goto process_double;
}
- } else if (!(digits < SIZEOF_ZEND_INT * 2 || (digits == SIZEOF_ZEND_INT * 2 && ptr[-digits] <= '7'))) {
+ } else if (!(digits < SIZEOF_ZEND_LONG * 2 || (digits == SIZEOF_ZEND_LONG * 2 && ptr[-digits] <= '7'))) {
if (dval) {
local_dval = zend_hex_strtod(str, &ptr);
}