Skip to content

Commit

Permalink
Fix wrong printflike for FormattedError in Cheevos.
Browse files Browse the repository at this point in the history
  • Loading branch information
MaddTheSane committed Mar 29, 2021
1 parent e4735bc commit b8e8579
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/frontend-common/cheevos.cpp
Expand Up @@ -85,7 +85,7 @@ static ALWAYS_INLINE CommonHostInterface* GetHostInterface()
return static_cast<CommonHostInterface*>(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;
Expand Down

0 comments on commit b8e8579

Please sign in to comment.