summaryrefslogtreecommitdiff
path: root/lib/system.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/system.c')
-rw-r--r--lib/system.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system.c b/lib/system.c
index 1bbbf79c84..ddf1427098 100644
--- a/lib/system.c
+++ b/lib/system.c
@@ -70,7 +70,7 @@ int gnutls_system_global_init(void)
#if defined(_WIN32) && defined(NEED_CERT_ENUM_CRLS)
/* used in system/certs.c */
HMODULE crypto;
- crypto = LoadLibraryA("Crypt32.dll");
+ crypto = LoadLibrary(TEXT("Crypt32.dll"));
if (crypto == NULL)
return GNUTLS_E_CRYPTO_INIT_FAILED;