dlist: remove unneeded type argument from DLIST_ADD_END()
[kai/samba-autobuild/.git] / source3 / registry / regfio.c
index c895bc45a9ce77ad3cb39e9aa4c3ed4a0baf3b0f..9bb89ff11d479be9047e497bf56067dc7c0f1f72 100644 (file)
@@ -1852,7 +1852,7 @@ static int hashrec_cmp( REGF_HASH_REC *h1, REGF_HASH_REC *h2 )
                        nk->sec_desc->size      = ndr_size_security_descriptor(sec_desc, 0)
                                + sizeof(uint32_t);
 
-                       DLIST_ADD_END( file->sec_desc_list, nk->sec_desc, REGF_SK_REC *);
+                       DLIST_ADD_END( file->sec_desc_list, nk->sec_desc);
 
                        /* 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