diff options
author | Pauli <paul.dale@oracle.com> | 2020-11-11 21:52:32 +1000 |
---|---|---|
committer | Pauli <paul.dale@oracle.com> | 2020-11-19 21:13:57 +1000 |
commit | 5b1d94c11c680c2b9527c3da55593468bcf65efd (patch) | |
tree | 412ab81f46cbf2e37bf0ef9449eaafd466082c66 /crypto/evp/evp_rand.c | |
parent | 908c9fc7ed86d8fab4edc1431433509bc18ac935 (diff) |
Fix some warnings from clang 10 in params.c
clang 10 was emitting warnings similar to the following from params.c:
crypto/params.c:411:40: error: implicit conversion from 'long' to 'double' changes value from 9223372036854775807 to 9223372036854775808 [-Werror,-Wimplicit-int-float-conversion]
if (d >= INT64_MIN && d <= INT64_MAX && d == (int64_t)d) {
Also fixed some other conversion problems when sizeof(double) == 4.
Alternative to #13366
Fixes #13365
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/13377)
Diffstat (limited to 'crypto/evp/evp_rand.c')
0 files changed, 0 insertions, 0 deletions