summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2007-06-13 10:07:05 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:23:17 -0500
commit00323dc7386b96cb56ffd645441368668aa9b640 (patch)
tree329f09ac004c51b918f3770e1b85e5233ac52ce4
parentcb7f45560f6ea6cd4f41dc96618a7ea71987c223 (diff)
downloadsamba-00323dc7386b96cb56ffd645441368668aa9b640.tar.gz
samba-00323dc7386b96cb56ffd645441368668aa9b640.tar.bz2
samba-00323dc7386b96cb56ffd645441368668aa9b640.zip
r23459: Remove one superfluous cast.
(This used to be commit beed87550786052891969f6014088c17a5d77157)
-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;