]> granicus.if.org Git - curl/commitdiff
LDAP: fixed checksrc issue
authorSergei Nikulov <snikulov@users.noreply.github.com>
Tue, 23 May 2017 21:14:13 +0000 (00:14 +0300)
committerGitHub <noreply@github.com>
Tue, 23 May 2017 21:14:13 +0000 (00:14 +0300)
lib/ldap.c

index 6751182ad9261c8aaa576750deb03d726f9d255c..79e84d94e56ea8f024d908f2404c3a55419383d5 100644 (file)
@@ -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);