win_dynld: use LoadLibraryA specifically

This commit is contained in:
GH Cao
2025-04-18 00:36:04 +08:00
parent b52c453532
commit 05f4906eb3

View File

@@ -51,7 +51,7 @@ dynld_module(const char *name, dllimp_t *table)
void *func;
/* See if we can load the desired module. */
if ((h = LoadLibrary(name)) == NULL) {
if ((h = LoadLibraryA(name)) == NULL) {
dynld_log("DynLd(\"%s\"): library not found! (%08X)\n", name, GetLastError());
return (NULL);
}