From 58bd5073c133a8804be83f19a1d164177f154d47 Mon Sep 17 00:00:00 2001 From: georgemoralis Date: Wed, 13 Mar 2024 20:21:26 +0200 Subject: [PATCH] small fix --- src/core/hle/libraries/libc/printf.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/hle/libraries/libc/printf.h b/src/core/hle/libraries/libc/printf.h index 55e1610af..d63e649c5 100644 --- a/src/core/hle/libraries/libc/printf.h +++ b/src/core/hle/libraries/libc/printf.h @@ -736,11 +736,11 @@ static int printf_ctx(VaCtx* ctx) { return result; } -static int fprintf_ctx(VaCtx* ctx,char *buf) { +static int fprintf_ctx(VaCtx* ctx, char* buf) { const char* format = vaArgPtr(&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; }