]> granicus.if.org Git - php/commitdiff
Fix intl build
authorNikita Popov <nikic@php.net>
Fri, 13 Sep 2013 23:37:09 +0000 (01:37 +0200)
committerNikita Popov <nikic@php.net>
Fri, 13 Sep 2013 23:37:09 +0000 (01:37 +0200)
Zend/zend_string.h

index 725e069ed23a298e61569e26fe912bbc77b7aa20..27ba50be3d6425e3ca90b90dc2be3387748d099f 100644 (file)
@@ -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;
 }