From 3775d9be4bffddbbf11c3a48a4a02f27d4a34dea Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Mon, 4 Dec 2023 21:26:49 -0800 Subject: [PATCH] Fixed warning C28251: Inconsistent annotation for 'SDL_LogMessageV_REAL': this instance has no annotations. --- src/SDL_log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SDL_log.c b/src/SDL_log.c index 89cc380c8..aea6ce386 100644 --- a/src/SDL_log.c +++ b/src/SDL_log.c @@ -282,7 +282,7 @@ static const char *GetCategoryPrefix(int category) } #endif /* __ANDROID__ */ -void SDL_LogMessageV(int category, SDL_LogPriority priority, const char *fmt, va_list ap) +void SDL_LogMessageV(int category, SDL_LogPriority priority, SDL_PRINTF_FORMAT_STRING const char *fmt, va_list ap) { char *message = NULL; char stack_buf[SDL_MAX_LOG_MESSAGE_STACK];