git.samba.org
/
metze
/
samba
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sync 3.0 into HEAD for the last time
[metze/samba/wip.git]
/
source3
/
utils
/
profiles.c
diff --git
a/source3/utils/profiles.c
b/source3/utils/profiles.c
index 23df26d15022b5045e40d8cf480a81bfb061627e..3230eb21fc88fb44555f180743d38f19968dd4f6 100644
(file)
--- a/
source3/utils/profiles.c
+++ b/
source3/utils/profiles.c
@@
-448,7
+448,7
@@
static int get_sid(DOM_SID *sid, const unsigned char *sid_str)
SIVAL(&sid->sub_auths[i], 0, auth);
i++;
- lstr = strchr(lstr + 1, '-');
+ lstr =
(const unsigned char *)
strchr(lstr + 1, '-');
}
return 1;