From f77cd07e31ee138bc04a9f84884ff2dc39bc959d Mon Sep 17 00:00:00 2001 From: Marco Bartoli Date: Sun, 23 Mar 2025 01:03:51 +0100 Subject: [PATCH] Explicit cast qwin10helpers.cpp GetProcAddress --- qtbase/src/plugins/platforms/windows/qwin10helpers.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qtbase/src/plugins/platforms/windows/qwin10helpers.cpp b/qtbase/src/plugins/platforms/windows/qwin10helpers.cpp index cbe4fa89..3bbc974b 100644 --- a/qtbase/src/plugins/platforms/windows/qwin10helpers.cpp +++ b/qtbase/src/plugins/platforms/windows/qwin10helpers.cpp @@ -71,7 +71,7 @@ void * WIN_LoadComBaseFunction(const char *name) s_bLoaded = true; } if (s_hComBase) { - return ::GetProcAddress(s_hComBase, name); + return (void *) ::GetProcAddress(s_hComBase, name); } else { return NULL; }