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); }