aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Hoersken <info@marc-hoersken.de>2012-04-13 13:05:26 +0200
committerDaniel Stenberg <daniel@haxx.se>2012-06-11 19:00:34 +0200
commit90412c86133aa32250749882891750b4555e97f6 (patch)
tree23f0a41939f210ec5a923f91dc0a9dfc860bc82c
parent78729e76da07c7eda05e63469faaaff7eb6ab80d (diff)
schannel: Fixed compiler warnings about pointer type assignments
-rw-r--r--lib/curl_schannel.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/curl_schannel.c b/lib/curl_schannel.c
index 6bc768219..d4e355966 100644
--- a/lib/curl_schannel.c
+++ b/lib/curl_schannel.c
@@ -99,7 +99,7 @@ schannel_connect_step1(struct connectdata *conn, int sockindex) {
conn->host.name, conn->remote_port);
/* check for an existing re-usable credential handle */
- if(!Curl_ssl_getsessionid(conn, &old_cred, NULL)) {
+ if(!Curl_ssl_getsessionid(conn, (void**)&old_cred, NULL)) {
connssl->cred = old_cred;
infof(data, "schannel: re-using existing credential handle\n");
}
@@ -432,16 +432,16 @@ schannel_connect_step3(struct connectdata *conn, int sockindex) {
}
/* save the current session data for possible re-use */
- incache = !(Curl_ssl_getsessionid(conn, &old_cred, NULL));
+ incache = !(Curl_ssl_getsessionid(conn, (void**)&old_cred, NULL));
if(incache) {
if(old_cred != connssl->cred) {
infof(data, "schannel: old credential handle is stale, removing\n");
- Curl_ssl_delsessionid(conn, old_cred);
+ Curl_ssl_delsessionid(conn, (void*)old_cred);
incache = FALSE;
}
}
if(!incache) {
- retcode = Curl_ssl_addsessionid(conn, connssl->cred,
+ retcode = Curl_ssl_addsessionid(conn, (void*)connssl->cred,
sizeof(curl_schannel_cred));
if(retcode) {
failf(data, "schannel: failed to store credential handle\n");