small fix
This commit is contained in:
parent
7764f13cce
commit
58bd5073c1
|
@ -740,7 +740,7 @@ static int fprintf_ctx(VaCtx* ctx,char *buf) {
|
|||
const char* format = vaArgPtr<const char>(&ctx->va_list);
|
||||
char buffer[256];
|
||||
int result = _vsnprintf(_out_buffer, buffer, format, &ctx->va_list);
|
||||
strcpy(buf, buffer);
|
||||
std::strcpy(buf, buffer);
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue