summaryrefslogtreecommitdiff
path: root/Zend/zend_string.h
diff options
context:
space:
mode:
authorNikita Popov <nikic@php.net>2013-09-14 01:37:09 +0200
committerNikita Popov <nikic@php.net>2013-09-14 01:37:09 +0200
commit8748e146b98fb79e66e3be40b211005e36031d64 (patch)
tree532965e3703e8bdacbc2136443df6685326aec1a /Zend/zend_string.h
parentdb6d93fecab928058956c71c35c67658152726b1 (diff)
downloadphp-git-8748e146b98fb79e66e3be40b211005e36031d64.tar.gz
Fix intl build
Diffstat (limited to 'Zend/zend_string.h')
-rw-r--r--Zend/zend_string.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_string.h b/Zend/zend_string.h
index 725e069ed2..27ba50be3d 100644
--- a/Zend/zend_string.h
+++ b/Zend/zend_string.h
@@ -74,7 +74,7 @@ END_EXTERN_C()
: erealloc(str, new_len))
static inline char *_str_erealloc(char *str, size_t new_len, size_t old_len) {
- char *buf = emalloc(new_len);
+ char *buf = (char *) emalloc(new_len);
memcpy(buf, str, old_len);
return buf;
}