From afcab2c2b602ee2ad45378505770c483d3b99207 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 15 Dec 2015 00:36:08 +0100 Subject: cyassl: fix compiler warning on type conversion --- lib/vtls/cyassl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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); } -- cgit v1.2.3