summaryrefslogtreecommitdiff
path: root/source3/lib/account_pol.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib/account_pol.c')
-rw-r--r--source3/lib/account_pol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/account_pol.c b/source3/lib/account_pol.c
index 33579108fa..111bf5bb91 100644
--- a/source3/lib/account_pol.c
+++ b/source3/lib/account_pol.c
@@ -44,7 +44,7 @@ BOOL init_account_policy(void)
/* handle a Samba upgrade */
tdb_lock_bystring(tdb, vstring);
if (tdb_fetch_int(tdb, vstring) != DATABASE_VERSION) {
- tdb_traverse(tdb, (tdb_traverse_func)tdb_delete, NULL);
+ tdb_traverse(tdb, tdb_traverse_delete_fn, NULL);
tdb_store_int(tdb, vstring, DATABASE_VERSION);
account_policy_set(AP_MIN_PASSWORD_LEN, MINPASSWDLENGTH); /* 5 chars minimum */