X-Git-Url: http://git.samba.org/?p=samba.git;a=blobdiff_plain;f=lib%2Ftdb%2Fcommon%2Ffreelist.c;fp=lib%2Ftdb%2Fcommon%2Ffreelist.c;h=37a4c168533b52e8f91d2aae8b6af974162d4784;hp=90643862208875b55fdc9e0999c37ac14b597b49;hb=8d787f73bbcaff181583eadb9b15dcaf863c032c;hpb=608df97d5dbc4e56456b83a28e3b2251a9aa4007 diff --git a/lib/tdb/common/freelist.c b/lib/tdb/common/freelist.c index 90643862208..37a4c168533 100644 --- a/lib/tdb/common/freelist.c +++ b/lib/tdb/common/freelist.c @@ -557,7 +557,7 @@ static bool tdb_alloc_dead( 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;