aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2012-06-14 12:05:48 +0200
committerYang Tse <yangsita@gmail.com>2012-06-14 12:05:48 +0200
commit2bac074f08913746e6f0f2bb81fe24975cfd78ea (patch)
tree7583fb4d60b46e6842b13193a5f0406f7ceafbed /lib
parentd098cfd8c0f2f03f199a5bc349e7be24858513cd (diff)
schannel: fix discarding qualifier from pointer type
Diffstat (limited to 'lib')
-rw-r--r--lib/curl_schannel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/curl_schannel.c b/lib/curl_schannel.c
index 60f9c4b08..19c28dfa6 100644
--- a/lib/curl_schannel.c
+++ b/lib/curl_schannel.c
@@ -157,8 +157,8 @@ schannel_connect_step1(struct connectdata *conn, int sockindex)
memset(connssl->cred, 0, sizeof(struct curl_schannel_cred));
/* http://msdn.microsoft.com/en-us/library/windows/desktop/aa374716.aspx */
- sspi_status = s_pSecFn->AcquireCredentialsHandle(NULL,
- UNISP_NAME, SECPKG_CRED_OUTBOUND, NULL, &schannel_cred, NULL, NULL,
+ sspi_status = s_pSecFn->AcquireCredentialsHandle(NULL, (void *)UNISP_NAME,
+ SECPKG_CRED_OUTBOUND, NULL, &schannel_cred, NULL, NULL,
&connssl->cred->cred_handle, &connssl->cred->time_stamp);
if(sspi_status != SEC_E_OK) {