summaryrefslogtreecommitdiffstats
path: root/source3/lib
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2011-05-05 11:29:01 -0700
committerKarolin Seeger <kseeger@samba.org>2011-05-17 09:17:02 +0200
commit72e728357b4131b00470f07c48353b3a8bd59fd6 (patch)
treee9bec6a32f2972544b54d65988d554cb338d37d0 /source3/lib
parent6f08ebf04804a7a36682dfb5b09e43dbf8c2f0d0 (diff)
downloadsamba-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.c2
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;
}