com php-src: Fix intl build: Zend/zend_string.h
| From: | Nikita Popov | Date: | Fri, 13 Sep 2013 23:37:09 +0000 |
| Subject: | com php-src: Fix intl build: Zend/zend_string.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-73193@lists.php.net to get a copy of this message | ||
Commit: 8748e146b98fb79e66e3be40b211005e36031d64
Author: Nikita Popov <nikic@php.net> Sat, 14 Sep 2013 01:37:09 +0200
Parents: db6d93fecab928058956c71c35c67658152726b1
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=8748e146b98fb79e66e3be40b211005e36031d64
Log:
Fix intl build
Changed paths:
M Zend/zend_string.h
Diff:
diff --git a/Zend/zend_string.h b/Zend/zend_string.h
index 725e069..27ba50b 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;
}