cyassl: fix compiler warning on type conversion

This commit is contained in:
Daniel Stenberg 2015-12-15 00:36:08 +01:00
parent 18ecdd0430
commit afcab2c2b6
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}