Commit 2425a224 authored by François Grisez's avatar François Grisez

Fix build with last version of GCC

parent bc7a4759
......@@ -347,8 +347,7 @@ char * bctbx_strcat_vprintf(char* dst, const char *fmt, va_list ap){
retlen = strlen(ret);
if ((dst = bctbx_realloc(dst, dstlen+retlen+1)) != NULL){
strncat(dst,ret,retlen);
dst[dstlen+retlen] = '\0';
strcat(dst,ret);
bctbx_free(ret);
return dst;
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment