From 258a465e20e007a30043220367d17ecfc87b4f90 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 18 Sep 2006 07:52:16 +0000 Subject: 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 (This used to be commit 2f58645b7094e81dff3734f11aa183ea2ab53d2d) --- source3/registry/regfio.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'source3/registry/regfio.c') diff --git a/source3/registry/regfio.c b/source3/registry/regfio.c index 768255a9fa..f2e95da889 100644 --- a/source3/registry/regfio.c +++ b/source3/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 -- cgit