Fix intl build

This commit is contained in:
Nikita Popov 2013-09-14 01:37:09 +02:00
parent db6d93feca
commit 8748e146b9

View file

@ -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;
} }