summaryrefslogtreecommitdiffstats
path: root/source/librpc
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
commit8c60e71229cd577f3b17345c5824363dd202eba9 (patch)
treee98ea7ceea3b3575705b9de2f78cdac5f691304f /source/librpc
parentac5561103caccac7d14fddbdc9a0fa972be45c6f (diff)
downloadsamba-8c60e71229cd577f3b17345c5824363dd202eba9.tar.gz
samba-8c60e71229cd577f3b17345c5824363dd202eba9.tar.xz
samba-8c60e71229cd577f3b17345c5824363dd202eba9.zip
r18667: Two C++ warnings
Diffstat (limited to 'source/librpc')
-rw-r--r--source/librpc/ndr/sid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/librpc/ndr/sid.c b/source/librpc/ndr/sid.c
index af48063dfa7..0a9ddb883b2 100644
--- a/source/librpc/ndr/sid.c
+++ b/source/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]) +