aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Hoersken <info@marc-hoersken.de>2012-10-04 19:55:17 +0200
committerMarc Hoersken <info@marc-hoersken.de>2012-10-04 19:55:17 +0200
commit90821c62027f4fc4259642ab1b5af8157ae40054 (patch)
treeaf80bb642aea0dbe217d2d9c2553bfc1f87a0911
parentdee2ef8083342dc6141ede9ab39ef55bc00a56d5 (diff)
lib/curl_schannel.c: Hide size_t conversion warning
-rw-r--r--lib/curl_schannel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/curl_schannel.c b/lib/curl_schannel.c
index 4fd676ea0..7db5f7a0d 100644
--- a/lib/curl_schannel.c
+++ b/lib/curl_schannel.c
@@ -697,7 +697,7 @@ schannel_send(struct connectdata *conn, int sockindex,
InitSecBuffer(&outbuf[0], SECBUFFER_STREAM_HEADER,
data, connssl->stream_sizes.cbHeader);
InitSecBuffer(&outbuf[1], SECBUFFER_DATA,
- data + connssl->stream_sizes.cbHeader, len);
+ data + connssl->stream_sizes.cbHeader, curlx_uztoul(len));
InitSecBuffer(&outbuf[2], SECBUFFER_STREAM_TRAILER,
data + connssl->stream_sizes.cbHeader + len,
connssl->stream_sizes.cbTrailer);