diff options
author | Andrew Tridgell <tridge@samba.org> | 2006-05-24 07:32:17 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:08:32 -0500 |
commit | cdc64c448df49676c96f87d106af8de0c467651f (patch) | |
tree | 341b178e8bc20e6b132382f8fce05204978ddd9d /source4/kdc | |
parent | a665cccd2ef81e704e90bb228bbd14c0afb031af (diff) | |
download | samba-cdc64c448df49676c96f87d106af8de0c467651f.tar.gz samba-cdc64c448df49676c96f87d106af8de0c467651f.tar.bz2 samba-cdc64c448df49676c96f87d106af8de0c467651f.zip |
r15853: started the process of removing the warnings now that
talloc_set_destructor() is type safe. The end result will be lots less
use of void*, and less calls to talloc_get_type()
(This used to be commit 6b4c085b862c0932b80b93e316396a53b993544c)
Diffstat (limited to 'source4/kdc')
-rw-r--r-- | source4/kdc/hdb-ldb.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/kdc/hdb-ldb.c b/source4/kdc/hdb-ldb.c index cc354af9e9..518ef7c01c 100644 --- a/source4/kdc/hdb-ldb.c +++ b/source4/kdc/hdb-ldb.c @@ -198,9 +198,8 @@ static HDBFlags uf2HDBFlags(krb5_context context, int userAccountControl, enum h return flags; } -static int hdb_ldb_destrutor(void *ptr) +static int hdb_ldb_destrutor(struct hdb_ldb_private *private) { - struct hdb_ldb_private *private = ptr; hdb_entry_ex *entry_ex = private->entry_ex; free_hdb_entry(&entry_ex->entry); return 0; |