diff options
author | Anatol Belski <ab@php.net> | 2014-12-17 16:45:35 +0100 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2014-12-17 16:47:05 +0100 |
commit | 79354ba6d0d6a1a4596f9ac66ee9bc3a34ed972b (patch) | |
tree | ba3e26a0a65a79013e1da5726ce7952a93e4e854 | |
parent | 12ce17c47ecfea24dd7a83ff381b2f9c22967bf0 (diff) | |
download | php-git-79354ba6d0d6a1a4596f9ac66ee9bc3a34ed972b.tar.gz |
fix integral constant overflow warningPRE_NATIVE_TLS_MERGE
as it's promoted to size_t when passed to ZEND_CALL_ARG
-rw-r--r-- | Zend/zend_compile.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_compile.h b/Zend/zend_compile.h index 3b1e046cc0..150d09a692 100644 --- a/Zend/zend_compile.h +++ b/Zend/zend_compile.h @@ -433,7 +433,7 @@ struct _zend_execute_data { (call)->This.u2.num_args #define ZEND_CALL_FRAME_SLOT \ - ((ZEND_MM_ALIGNED_SIZE(sizeof(zend_execute_data)) + ZEND_MM_ALIGNED_SIZE(sizeof(zval)) - 1) / ZEND_MM_ALIGNED_SIZE(sizeof(zval))) + ((int)((ZEND_MM_ALIGNED_SIZE(sizeof(zend_execute_data)) + ZEND_MM_ALIGNED_SIZE(sizeof(zval)) - 1) / ZEND_MM_ALIGNED_SIZE(sizeof(zval)))) #define ZEND_CALL_VAR(call, n) \ ((zval*)(((char*)(call)) + ((int)(n)))) |