From 8748e146b98fb79e66e3be40b211005e36031d64 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Sat, 14 Sep 2013 01:37:09 +0200 Subject: [PATCH] Fix intl build --- Zend/zend_string.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Zend/zend_string.h b/Zend/zend_string.h index 725e069ed23..27ba50be3d6 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; }