From 92fe60a3cecce1513e146944306afae3d8e1db76 Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Mon, 10 Oct 2022 21:04:50 +0300
Subject: [PATCH] testwm.c: fix MSVC build.
---
test/testwm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/testwm.c b/test/testwm.c
index 16f29bfa5..233ed51fe 100644
--- a/test/testwm.c
+++ b/test/testwm.c
@@ -460,7 +460,7 @@ int main(int argc, char *argv[])
}
{
- typedef SDL_Window * SDLCALL (*fnSDL12COMPAT_GetWindow)(void);
+ typedef SDL_Window* (SDLCALL *fnSDL12COMPAT_GetWindow)(void);
fnSDL12COMPAT_GetWindow pfnSDL12COMPAT_GetWindow = (fnSDL12COMPAT_GetWindow) SDL_GL_GetProcAddress("SDL12COMPAT_GetWindow");
printf("SDL12COMPAT_GetWindow address is %p%s\n", pfnSDL12COMPAT_GetWindow, pfnSDL12COMPAT_GetWindow ? "" : " (probably using classic SDL 1.2)");
if (pfnSDL12COMPAT_GetWindow != NULL) {