mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Fix intl build
This commit is contained in:
parent
db6d93feca
commit
8748e146b9
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ END_EXTERN_C()
|
||||||
: erealloc(str, new_len))
|
: erealloc(str, new_len))
|
||||||
|
|
||||||
static inline char *_str_erealloc(char *str, size_t new_len, size_t old_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);
|
memcpy(buf, str, old_len);
|
||||||
return buf;
|
return buf;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue