From b8e85798a63422dd20989760f21944f17b24bd26 Mon Sep 17 00:00:00 2001 From: "C.W. Betts" Date: Mon, 29 Mar 2021 14:04:23 -0600 Subject: [PATCH] Fix wrong printflike for FormattedError in Cheevos. --- src/frontend-common/cheevos.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend-common/cheevos.cpp b/src/frontend-common/cheevos.cpp index cb20db0cb..08a648b2e 100644 --- a/src/frontend-common/cheevos.cpp +++ b/src/frontend-common/cheevos.cpp @@ -85,7 +85,7 @@ static ALWAYS_INLINE CommonHostInterface* GetHostInterface() return static_cast(g_host_interface); } -static void FormattedError(const char* format, ...) printflike(2, 3); +static void FormattedError(const char* format, ...) printflike(1, 2); static void FormattedError(const char* format, ...) { std::va_list ap;