Browse Source

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

Sam Lantinga 1 year ago
parent
commit
3775d9be4b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/SDL_log.c

+ 1 - 1
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];