diff options
author | Andy Polyakov <appro@openssl.org> | 2014-07-08 23:06:59 +0200 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2014-07-09 22:45:52 +0200 |
commit | f50f0c6aa31502ab596ad94757ea9be791c62cc8 (patch) | |
tree | b221f3990e292b9d37fa3f8ca2447a3ef119a062 /crypto/objects | |
parent | 2064e2db08eb90da711999445680d45c44483e82 (diff) |
Please Clang's sanitizer, addendum.
(cherry picked from commit d11c70b2c2a655d112fa72d34c6702e9aa2eff79)
Diffstat (limited to 'crypto/objects')
-rw-r--r-- | crypto/objects/obj_dat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/objects/obj_dat.c b/crypto/objects/obj_dat.c index 8a342ba3eb..2df14a7fbe 100644 --- a/crypto/objects/obj_dat.c +++ b/crypto/objects/obj_dat.c @@ -140,7 +140,7 @@ static unsigned long added_obj_hash(const ADDED_OBJ *ca) return 0; } ret&=0x3fffffffL; - ret|=ca->type<<30L; + ret|=((unsigned long)ca->type)<<30L; return(ret); } static IMPLEMENT_LHASH_HASH_FN(added_obj, ADDED_OBJ) |