Fixed warning C28251: Inconsistent annotation for 'SDL_LogMessageV_REAL': this instance has no annotations.

main
Sam Lantinga 2023-12-04 21:26:49 -08:00
parent b512182222
commit 3775d9be4b
1 changed files with 1 additions and 1 deletions

View File

@ -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];