SDL: Fixed testautomation log callback calling convention (173af)

From 173afd8564a151d250ea1a984a3bb2c15afa5ab7 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Sat, 27 Jan 2024 22:44:13 -0800
Subject: [PATCH] Fixed testautomation log callback calling convention

(cherry picked from commit 9f7eb6c4c11b445da0fcadb357e1c7ed053b0084)
(cherry picked from commit c55bd24827398be6a2ef3fc48aae05d9f68ebb86)
---
 test/testautomation_log.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/testautomation_log.c b/test/testautomation_log.c
index c5d34b9f456f..4edb487ea310 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);