tdb: Align integer types
[samba.git] / lib / tdb / common / freelist.c
index 90643862208875b55fdc9e0999c37ac14b597b49..37a4c168533b52e8f91d2aae8b6af974162d4784 100644 (file)
@@ -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;