summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2011-05-05 11:29:01 -0700
committerJeremy Allison <jra@samba.org>2011-05-05 11:29:01 -0700
commit9efea96d16a9f9526669e7d9288902a15d0ee549 (patch)
treee2d18edaacb8391937c2d53b2221dcf321a7f155 /source3/lib
parent4f41be356a4e6b311d30de3b2e36e4c33aa72ca3 (diff)
downloadsamba-9efea96d16a9f9526669e7d9288902a15d0ee549.tar.gz
samba-9efea96d16a9f9526669e7d9288902a15d0ee549.tar.bz2
samba-9efea96d16a9f9526669e7d9288902a15d0ee549.zip
More const compiler warning fixes.
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 ef46a38f8a..f080d3dfb0 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;
}