tdb->max_dead_records is "int", as is the corresponding parameter to
tdb_set_max_dead(). Not that a signed variable makes any sense, but
this is old code and tdb_set_max_dead() is a public API which we
should not change for this.
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Nov 6 21:52:32 CET 2018 on sn-devel-144
static void tdb_purge_dead(struct tdb_context *tdb, uint32_t hash)
{
- uint32_t max_dead_records = tdb->max_dead_records;
+ int max_dead_records = tdb->max_dead_records;
tdb->max_dead_records = 0;