diff --git a/src/SDL_log.c b/src/SDL_log.c index b56bdbb53..db6788812 100644 --- a/src/SDL_log.c +++ b/src/SDL_log.c @@ -284,7 +284,7 @@ GetCategoryPrefix(int category) void SDL_LogMessageV(int category, SDL_LogPriority priority, const char *fmt, va_list ap) { - static char message[SDL_MAX_LOG_MESSAGE] + static char message[SDL_MAX_LOG_MESSAGE]; size_t len; /* Nothing to do if we don't have an output function */