summaryrefslogtreecommitdiff
path: root/source3/lib/smbldap.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2015-08-24 12:33:28 +0200
committerJeremy Allison <jra@samba.org>2015-08-26 21:41:12 +0200
commit4a442e2eb7e0b2c62bcc355d461dfd1aaf8c26e8 (patch)
tree7df0f521ee3a5a4a64538972254aaac64f90743a /source3/lib/smbldap.c
parentdba9e631bd1e1c7e00430b72f0c60b32ee4eeb33 (diff)
downloadsamba-4a442e2eb7e0b2c62bcc355d461dfd1aaf8c26e8.tar.gz
lib: Make sid_parse take a uint8_t
sid_parse takes a binary blob, uint8_t reflects this a bit better than char * does Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/lib/smbldap.c')
-rw-r--r--source3/lib/smbldap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/smbldap.c b/source3/lib/smbldap.c
index f2d58a54d19..75116d2cb64 100644
--- a/source3/lib/smbldap.c
+++ b/source3/lib/smbldap.c
@@ -237,7 +237,7 @@
&blob)) {
return false;
}
- ret = sid_parse((char *)blob.data, blob.length, sid);
+ ret = sid_parse(blob.data, blob.length, sid);
TALLOC_FREE(blob.data);
return ret;
}