summaryrefslogtreecommitdiff
path: root/source3/utils/profiles.c
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>2003-08-15 04:42:05 +0000
committerHerb Lewis <herb@samba.org>2003-08-15 04:42:05 +0000
commitaa39cc37dab9c4f8c3295d872bb8cc143890b378 (patch)
tree49adb72109be61b3b3e9c1a77c291a0615ecc536 /source3/utils/profiles.c
parent48ceb1b0685f193a1bc95d73401aa48561763dfb (diff)
downloadsamba-aa39cc37dab9c4f8c3295d872bb8cc143890b378.tar.gz
samba-aa39cc37dab9c4f8c3295d872bb8cc143890b378.tar.bz2
samba-aa39cc37dab9c4f8c3295d872bb8cc143890b378.zip
get rid of more compiler warnings
(This used to be commit 398bd14fc6e2f8ab2f34211270e179b8928a6669)
Diffstat (limited to 'source3/utils/profiles.c')
-rw-r--r--source3/utils/profiles.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/profiles.c b/source3/utils/profiles.c
index 23df26d150..3230eb21fc 100644
--- 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;