From 48f2a96a609aec535736a7fe202163fdb2a99fd5 Mon Sep 17 00:00:00 2001 From: Sergei Nikulov Date: Wed, 24 May 2017 00:14:13 +0300 Subject: [PATCH] LDAP: fixed checksrc issue --- lib/ldap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ldap.c b/lib/ldap.c index 6751182ad..79e84d94e 100644 --- a/lib/ldap.c +++ b/lib/ldap.c @@ -239,8 +239,8 @@ static int ldap_win_bind(struct connectdata *conn, LDAP *server, PTCHAR inpass = NULL; if(user && passwd && (conn->data->set.httpauth & CURLAUTH_BASIC)) { - inuser = Curl_convert_UTF8_to_tchar((char*)user); - inpass = Curl_convert_UTF8_to_tchar((char*)passwd); + inuser = Curl_convert_UTF8_to_tchar((char *) user); + inpass = Curl_convert_UTF8_to_tchar((char *) passwd); rc = ldap_bind_s(server, inuser, inpass, method);