summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/registry/reg_db.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/registry/reg_db.c b/source3/registry/reg_db.c
index fba5cdef3f..d9e7982d61 100644
--- a/source3/registry/reg_db.c
+++ b/source3/registry/reg_db.c
@@ -756,7 +756,7 @@ static WERROR regdb_set_secdesc(const char *key,
normalize_dbkey(tdbkey);
err = ntstatus_to_werror(marshall_sec_desc(mem_ctx, secdesc,
- (uint8 **)&tdbdata.dptr,
+ &tdbdata.dptr,
&tdbdata.dsize));
if (!W_ERROR_IS_OK(err)) {
goto done;