summaryrefslogtreecommitdiffstats
path: root/source/utils/profiles.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/utils/profiles.c')
-rw-r--r--source/utils/profiles.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/utils/profiles.c b/source/utils/profiles.c
index 7c2d820c810..afaa83f6384 100644
--- a/source/utils/profiles.c
+++ b/source/utils/profiles.c
@@ -418,10 +418,10 @@ static int my_sid_equal(DOM_SID *s1, DOM_SID *s2)
* Quick and dirty to read a SID in S-1-5-21-x-y-z-rid format and
* construct a DOM_SID
*/
-static int get_sid(DOM_SID *sid, char *sid_str)
+static int get_sid(DOM_SID *sid, const unsigned char *sid_str)
{
int i = 0, auth;
- char *lstr;
+ const unsigned char *lstr;
if (strncmp(sid_str, "S-1-5", 5)) {
fprintf(stderr, "Does not conform to S-1-5...: %s\n", sid_str);