diff options
author | Stefan Metzmacher <metze@samba.org> | 2014-02-26 20:16:26 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2014-11-25 07:25:44 +0100 |
commit | 1669e5cdecdab35fef276fcf3c45c0e4f475807b (patch) | |
tree | 7a766e29cec4585ed90e000c7c9a05783eb7725a /source3/lib/netapi/examples | |
parent | 1733df28115b5507ac8db5577100da02c2b6520d (diff) | |
download | samba-1669e5cdecdab35fef276fcf3c45c0e4f475807b.tar.gz samba-1669e5cdecdab35fef276fcf3c45c0e4f475807b.tar.xz samba-1669e5cdecdab35fef276fcf3c45c0e4f475807b.zip |
s3:lib/netapi/examples: fix pointer from integer error in nltest.c
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/lib/netapi/examples')
-rw-r--r-- | source3/lib/netapi/examples/netlogon/nltest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/netapi/examples/netlogon/nltest.c b/source3/lib/netapi/examples/netlogon/nltest.c index f75a995328..9f96bdaef4 100644 --- a/source3/lib/netapi/examples/netlogon/nltest.c +++ b/source3/lib/netapi/examples/netlogon/nltest.c @@ -289,7 +289,7 @@ int main(int argc, const char **argv) status = I_NetLogonControl2(opt_server, NETLOGON_CONTROL_SET_DBFLAG, query_level, - (uint8_t *)opt_dbflag, + (uint8_t *)&opt_dbflag, &buffer); if (status != 0) { fprintf(stderr, "I_NetlogonControl failed: Status = %d 0x%x %s\n", |