diff options
author | Daniel Stenberg <daniel@haxx.se> | 2015-12-15 00:36:08 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2015-12-15 00:36:08 +0100 |
commit | afcab2c2b602ee2ad45378505770c483d3b99207 (patch) | |
tree | e5ac75da7640fe096e196ed16efa82ff512cb87c | |
parent | 18ecdd0430d5f21cede95cbe1ec0e327d7e1e65a (diff) |
cyassl: fix compiler warning on type conversion
-rw-r--r-- | lib/vtls/cyassl.c | 2 |
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); } |