aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Nikulov <snikulov@users.noreply.github.com>2017-05-24 00:14:13 +0300
committerGitHub <noreply@github.com>2017-05-24 00:14:13 +0300
commit48f2a96a609aec535736a7fe202163fdb2a99fd5 (patch)
treeb18725828898af2660ad583d7300c7690aa85084
parentf0fe66f13c93d3d0af45d9fb1231c9164e0f9dc8 (diff)
LDAP: fixed checksrc issue
-rw-r--r--lib/ldap.c4
1 files 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);