From: Sergei Nikulov Date: Tue, 23 May 2017 21:14:13 +0000 (+0300) Subject: LDAP: fixed checksrc issue X-Git-Tag: curl-7_54_1~88 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=48f2a96a609aec535736a7fe202163fdb2a99fd5;p=curl LDAP: fixed checksrc issue --- 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);