diff options
author | Jeremy Allison <jra@samba.org> | 2011-05-05 11:29:01 -0700 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2011-05-17 09:17:02 +0200 |
commit | 72e728357b4131b00470f07c48353b3a8bd59fd6 (patch) | |
tree | e9bec6a32f2972544b54d65988d554cb338d37d0 /source3/lib | |
parent | 6f08ebf04804a7a36682dfb5b09e43dbf8c2f0d0 (diff) | |
download | samba-72e728357b4131b00470f07c48353b3a8bd59fd6.tar.gz samba-72e728357b4131b00470f07c48353b3a8bd59fd6.tar.xz samba-72e728357b4131b00470f07c48353b3a8bd59fd6.zip |
More const compiler warning fixes.
(cherry picked from commit 9efea96d16a9f9526669e7d9288902a15d0ee549)
(cherry picked from commit 62a6ded441247daeb61a36fddc3d7eac8114df9f)
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/util_sid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/util_sid.c b/source3/lib/util_sid.c index ef46a38f8aa..f080d3dfb0c 100644 --- a/source3/lib/util_sid.c +++ b/source3/lib/util_sid.c @@ -121,7 +121,7 @@ char *sid_binstring_hex(const struct dom_sid *sid) if (!buf) return NULL; sid_linearize(buf, len, sid); - hex_encode(buf, len, &s); + hex_encode((const unsigned char *)buf, len, &s); free(buf); return s; } |