From 6da8e07c7ad3a09dc785b6bc1498cb7f64e030f2 Mon Sep 17 00:00:00 2001 From: OBattler Date: Wed, 2 Nov 2022 18:04:43 +0100 Subject: [PATCH] Apparently, the case is only needed when building for QT6. --- src/qt/win_dynld.c | 2 +- src/win/win_dynld.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/qt/win_dynld.c b/src/qt/win_dynld.c index 507e3584c..98eb4739f 100644 --- a/src/qt/win_dynld.c +++ b/src/qt/win_dynld.c @@ -54,7 +54,7 @@ dynld_module(const char *name, dllimp_t *table) void *func; /* See if we can load the desired module. */ - if ((h = LoadLibrary((WCHAR *) name)) == NULL) { + if ((h = LoadLibrary(name)) == NULL) { dynld_log("DynLd(\"%s\"): library not found! (%08X)\n", name, GetLastError()); return(NULL); } diff --git a/src/win/win_dynld.c b/src/win/win_dynld.c index 507e3584c..98eb4739f 100644 --- a/src/win/win_dynld.c +++ b/src/win/win_dynld.c @@ -54,7 +54,7 @@ dynld_module(const char *name, dllimp_t *table) void *func; /* See if we can load the desired module. */ - if ((h = LoadLibrary((WCHAR *) name)) == NULL) { + if ((h = LoadLibrary(name)) == NULL) { dynld_log("DynLd(\"%s\"): library not found! (%08X)\n", name, GetLastError()); return(NULL); }