diff --git a/test/testautomation_log.c b/test/testautomation_log.c index c5d34b9f4..4edb487ea 100644 --- a/test/testautomation_log.c +++ b/test/testautomation_log.c @@ -8,7 +8,7 @@ static SDL_LogOutputFunction original_function; static void *original_userdata; -static void TestLogOutput(void *userdata, int category, SDL_LogPriority priority, const char *message) +static void SDLCALL TestLogOutput(void *userdata, int category, SDL_LogPriority priority, const char *message) { int *message_count = (int *)userdata; ++(*message_count);