type cast the return of fread

This commit is contained in:
Jacob Barthelmeh
2017-08-22 09:47:55 -06:00
parent 71f4d546a8
commit c25832ad14

View File

@ -10489,7 +10489,7 @@ static int ecc_test_make_pub(WC_RNG* rng)
goto exit_ecc_make_pub;
}
tmpSz = fread(tmp, 1, FOURK_BUF, file);
tmpSz = (word32)fread(tmp, 1, FOURK_BUF, file);
fclose(file);
#endif /* USE_CERT_BUFFERS_256 */