diff options
author | Günther Deschner <gd@samba.org> | 2010-05-28 02:47:12 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-05-28 02:49:37 +0200 |
commit | c5eeb0d155bc49fe7ead2a601bdd1bffaa5b119c (patch) | |
tree | 349d25ede3601046e407fb752bdbe646bff0ba8d /source3/auth | |
parent | 38d69ca547d6eaead316d990dc140a8250cf64d2 (diff) | |
download | samba-c5eeb0d155bc49fe7ead2a601bdd1bffaa5b119c.tar.gz samba-c5eeb0d155bc49fe7ead2a601bdd1bffaa5b119c.tar.bz2 samba-c5eeb0d155bc49fe7ead2a601bdd1bffaa5b119c.zip |
s3-auth: fix c++ buildwarnings.
Guenther
Diffstat (limited to 'source3/auth')
-rw-r--r-- | source3/auth/server_info.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/auth/server_info.c b/source3/auth/server_info.c index 27f0487a4d..2545e7d58f 100644 --- a/source3/auth/server_info.c +++ b/source3/auth/server_info.c @@ -431,7 +431,7 @@ struct netr_SamInfo3 *copy_netr_SamInfo3(TALLOC_CTX *mem_ctx, } if (orig->base.groups.count) { - info3->base.groups.rids = + info3->base.groups.rids = (struct samr_RidWithAttribute *) talloc_memdup(info3, orig->base.groups.rids, (sizeof(struct samr_RidWithAttribute) * orig->base.groups.count)); @@ -455,7 +455,7 @@ struct netr_SamInfo3 *copy_netr_SamInfo3(TALLOC_CTX *mem_ctx, } if (orig->sidcount) { - info3->sids = talloc_memdup(info3, orig->sids, + info3->sids = (struct netr_SidAttr *)talloc_memdup(info3, orig->sids, (sizeof(struct netr_SidAttr) * orig->sidcount)); RET_NOMEM(info3->sids); |