summaryrefslogtreecommitdiff
path: root/Zend/zend_execute_API.c
diff options
context:
space:
mode:
authorFelipe Pena <felipe@php.net>2008-11-05 11:00:38 +0000
committerFelipe Pena <felipe@php.net>2008-11-05 11:00:38 +0000
commit2f26deb0e027426f79fe34db930b4787605c8f8d (patch)
tree61c04b5dd8d77b22f8d33267c2893c3e3755e8a5 /Zend/zend_execute_API.c
parent1c08ae1c8ea9fb8242a98840887c1b38d56258d4 (diff)
downloadphp-git-2f26deb0e027426f79fe34db930b4787605c8f8d.tar.gz
- Fixed Windows build
Diffstat (limited to 'Zend/zend_execute_API.c')
-rw-r--r--Zend/zend_execute_API.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend_execute_API.c b/Zend/zend_execute_API.c
index 8e2c734091..d2f3698b42 100644
--- a/Zend/zend_execute_API.c
+++ b/Zend/zend_execute_API.c
@@ -520,7 +520,7 @@ ZEND_API int zval_update_constant_ex(zval **pp, void *arg, zend_class_entry *sco
char *save = actual;
int actual_len = Z_STRLEN_P(p);
if (Z_TYPE_P(p) & IS_CONSTANT_RT_NS_CHECK) {
- actual = zend_memrchr(actual, '\\', actual_len) + 1;
+ actual = (char *)zend_memrchr(actual, '\\', actual_len) + 1;
actual_len -= (actual - Z_STRVAL_P(p));
if (inline_change) {
actual = estrndup(actual, actual_len);
@@ -613,7 +613,7 @@ ZEND_API int zval_update_constant_ex(zval **pp, void *arg, zend_class_entry *sco
str_index = colon;
} else {
if (str_index[str_index_len - 2] & IS_CONSTANT_RT_NS_CHECK) {
- actual = zend_memrchr(str_index, '\\', str_index_len - 3) + 1;
+ actual = (char *)zend_memrchr(str_index, '\\', str_index_len - 3) + 1;
str_index_len -= (actual - str_index);
str_index = actual;
}