diff --git a/expat/lib/xmlparse.c b/expat/lib/xmlparse.c index 76f078e2..7c87b981 100644 --- a/expat/lib/xmlparse.c +++ b/expat/lib/xmlparse.c @@ -749,7 +749,7 @@ typedef BOOLEAN (APIENTRY *RTLGENRANDOM_FUNC)(PVOID, ULONG); static int writeRandomBytes_RtlGenRandom(void * target, size_t count) { int success = 0; /* full count bytes written? */ - const HMODULE advapi32 = LoadLibrary("ADVAPI32.DLL"); + const HMODULE advapi32 = LoadLibraryA("ADVAPI32.DLL"); if (advapi32) { const RTLGENRANDOM_FUNC RtlGenRandom