]> git.ipfire.org Git - thirdparty/git.git/blobdiff - compat/poll/poll.c
mingw: use Unicode functions explicitly
[thirdparty/git.git] / compat / poll / poll.c
index 4459408c7d0ba762b1dd4184a4c970778ba097a5..8f24b802521e982bd9be6502854689bcd84906f4 100644 (file)
@@ -150,7 +150,7 @@ win32_compute_revents (HANDLE h, int *p_sought)
       if (!once_only)
        {
          NtQueryInformationFile = (PNtQueryInformationFile)
-           GetProcAddress (GetModuleHandle ("ntdll.dll"),
+           GetProcAddress (GetModuleHandleW (L"ntdll.dll"),
                            "NtQueryInformationFile");
          once_only = TRUE;
        }