aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2015-12-15 00:36:08 +0100
committerDaniel Stenberg <daniel@haxx.se>2015-12-15 00:36:08 +0100
commitafcab2c2b602ee2ad45378505770c483d3b99207 (patch)
treee5ac75da7640fe096e196ed16efa82ff512cb87c /lib
parent18ecdd0430d5f21cede95cbe1ec0e327d7e1e65a (diff)
cyassl: fix compiler warning on type conversion
Diffstat (limited to 'lib')
-rw-r--r--lib/vtls/cyassl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/vtls/cyassl.c b/lib/vtls/cyassl.c
index 052996e14..f51b04192 100644
--- a/lib/vtls/cyassl.c
+++ b/lib/vtls/cyassl.c
@@ -780,7 +780,7 @@ void Curl_cyassl_sha256sum(const unsigned char *tmp, /* input */
Sha256 SHA256pw;
(void)unused;
InitSha256(&SHA256pw);
- Sha256Update(&SHA256pw, tmp, tmplen);
+ Sha256Update(&SHA256pw, tmp, (word32)tmplen);
Sha256Final(&SHA256pw, sha256sum);
}