diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-09-18 07:52:16 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:51:59 -0500 |
commit | 2f58645b7094e81dff3734f11aa183ea2ab53d2d (patch) | |
tree | c5c65611d18a60dd3612d2466a45d2b36dc4167a /source/registry/regfio.c | |
parent | a52fa218952ffcd784ea31e947aa4d17dfdc8ee0 (diff) | |
download | samba-2f58645b7094e81dff3734f11aa183ea2ab53d2d.tar.gz samba-2f58645b7094e81dff3734f11aa183ea2ab53d2d.tar.xz samba-2f58645b7094e81dff3734f11aa183ea2ab53d2d.zip |
r18605: sync dlinklist.h with samba4, that means DLIST_ADD_END()
and DLIST_DEMOTE() now take the type of the tmp pointer
not the tmp pointer itself anymore.
metze
Diffstat (limited to 'source/registry/regfio.c')
-rw-r--r-- | source/registry/regfio.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/registry/regfio.c b/source/registry/regfio.c index 768255a9faa..f2e95da8898 100644 --- a/source/registry/regfio.c +++ b/source/registry/regfio.c @@ -1748,7 +1748,6 @@ static int hashrec_cmp( REGF_HASH_REC *h1, REGF_HASH_REC *h2 ) if ( sec_desc ) { uint32 sk_size = sk_record_data_size( sec_desc ); REGF_HBIN *sk_hbin; - REGF_SK_REC *tmp = NULL; /* search for it in the existing list of sd's */ @@ -1777,7 +1776,7 @@ static int hashrec_cmp( REGF_HASH_REC *h1, REGF_HASH_REC *h2 ) /* size value must be self-inclusive */ nk->sec_desc->size = sec_desc_size(sec_desc) + sizeof(uint32); - DLIST_ADD_END( file->sec_desc_list, nk->sec_desc, tmp ); + DLIST_ADD_END( file->sec_desc_list, nk->sec_desc, REGF_SK_REC *); /* update the offsets for us and the previous sd in the list. if this is the first record, then just set the next and prev |