diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-12-20 20:33:02 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-12-20 20:33:02 +0100 |
commit | 9b16a5ac163025c49b40b7f32f6145da46cd75b8 (patch) | |
tree | e468c68a9f15417a19cbb451a1c074dcda6b3f34 /source4/libcli | |
parent | 28f80dbb7cc7daeb6d285dd26d3ef32a42af93ca (diff) | |
parent | f210fbe68b07cadd8ca3e358b1579a9c602cc7f8 (diff) | |
download | samba-9b16a5ac163025c49b40b7f32f6145da46cd75b8.tar.gz samba-9b16a5ac163025c49b40b7f32f6145da46cd75b8.tar.bz2 samba-9b16a5ac163025c49b40b7f32f6145da46cd75b8.zip |
Merge branch 'master' of ssh://git.samba.org/data/git/samba into tevent-standalone
Diffstat (limited to 'source4/libcli')
-rw-r--r-- | source4/libcli/security/dom_sid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/security/dom_sid.c b/source4/libcli/security/dom_sid.c index d8a83f2abb..36e3967910 100644 --- a/source4/libcli/security/dom_sid.c +++ b/source4/libcli/security/dom_sid.c @@ -152,7 +152,7 @@ struct dom_sid *dom_sid_parse_talloc(TALLOC_CTX *mem_ctx, const char *sidstr) struct dom_sid *dom_sid_parse_length(TALLOC_CTX *mem_ctx, const DATA_BLOB *sid) { struct dom_sid *ret; - char *p = talloc_strndup(mem_ctx, sid->data, sid->length); + char *p = talloc_strndup(mem_ctx, (char *)sid->data, sid->length); if (!p) { return NULL; } |