Please Clang's sanitizer, addendum.

Reviewed-by: Rich Salz <rsalz@openssl.org>
This commit is contained in:
Andy Polyakov 2014-07-08 23:06:59 +02:00 committed by Emilia Kasper
parent da23637e8e
commit e963109fcd
2 changed files with 5 additions and 3 deletions

View File

@ -351,6 +351,8 @@ void engine_table_doall(ENGINE_TABLE *table, engine_table_doall_cb *cb,
ENGINE_PILE_DOALL dall; ENGINE_PILE_DOALL dall;
dall.cb = cb; dall.cb = cb;
dall.arg = arg; dall.arg = arg;
lh_ENGINE_PILE_doall_arg(&table->piles, LHASH_DOALL_ARG_FN(int_cb), if (table)
ENGINE_PILE_DOALL, &dall); lh_ENGINE_PILE_doall_arg(&table->piles,
LHASH_DOALL_ARG_FN(int_cb),
ENGINE_PILE_DOALL, &dall);
} }

View File

@ -142,7 +142,7 @@ static unsigned long added_obj_hash(const ADDED_OBJ *ca)
return 0; return 0;
} }
ret &= 0x3fffffffL; ret &= 0x3fffffffL;
ret |= ca->type << 30L; ret |= ((unsigned long)ca->type) << 30L;
return (ret); return (ret);
} }