summaryrefslogtreecommitdiff
path: root/source3/librpc/ndr
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-09-19 01:28:25 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:00:45 -0500
commitd52612a7d9336fff18d298aed7a7c9a756b9d31e (patch)
treec2daa7a166b5b898dcc1b1dda87deda89f8a3d35 /source3/librpc/ndr
parent6ef0edb38ee014394026d2d51af5dd82b694b2fb (diff)
downloadsamba-d52612a7d9336fff18d298aed7a7c9a756b9d31e.tar.gz
samba-d52612a7d9336fff18d298aed7a7c9a756b9d31e.tar.bz2
samba-d52612a7d9336fff18d298aed7a7c9a756b9d31e.zip
r18667: Two C++ warnings
(This used to be commit 8c60e71229cd577f3b17345c5824363dd202eba9)
Diffstat (limited to 'source3/librpc/ndr')
-rw-r--r--source3/librpc/ndr/sid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/librpc/ndr/sid.c b/source3/librpc/ndr/sid.c
index af48063dfa..0a9ddb883b 100644
--- a/source3/librpc/ndr/sid.c
+++ b/source3/librpc/ndr/sid.c
@@ -73,7 +73,7 @@ char *dom_sid_string(TALLOC_CTX *mem_ctx, const struct dom_sid *sid)
}
maxlen = sid->num_auths * 11 + 25;
- ret = talloc_size(mem_ctx, maxlen);
+ ret = (char *)talloc_size(mem_ctx, maxlen);
if (!ret) return talloc_strdup(mem_ctx, "(SID ERR)");
ia = (sid->id_auth[5]) +