diff options
author | Andrew Bartlett <abartlet@samba.org> | 2002-06-14 00:47:08 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2002-06-14 00:47:08 +0000 |
commit | baef1358d2b5a98a592f0247911a31d79148dcba (patch) | |
tree | f878164ca8d1526f723f25796a3ca2cef51a5d4f /source3/lib | |
parent | d179b191794c06626375692ea81c1931db57f550 (diff) | |
download | samba-baef1358d2b5a98a592f0247911a31d79148dcba.tar.gz samba-baef1358d2b5a98a592f0247911a31d79148dcba.tar.bz2 samba-baef1358d2b5a98a592f0247911a31d79148dcba.zip |
Add const, kill of useless casts and therefore eliminate warnings.
Andrew Bartlett
(This used to be commit 29490f214750acd44cee6c4ab1354722d82d853a)
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/util_sid.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/lib/util_sid.c b/source3/lib/util_sid.c index 3ad9e909d8..ca9ebb14d2 100644 --- a/source3/lib/util_sid.c +++ b/source3/lib/util_sid.c @@ -252,7 +252,7 @@ BOOL sid_split_rid(DOM_SID *sid, uint32 *rid) Return the last rid from the end of a sid *****************************************************************/ -BOOL sid_peek_rid(DOM_SID *sid, uint32 *rid) +BOOL sid_peek_rid(const DOM_SID *sid, uint32 *rid) { if (!sid || !rid) return False; @@ -269,7 +269,7 @@ BOOL sid_peek_rid(DOM_SID *sid, uint32 *rid) and check the sid against the exp_dom_sid *****************************************************************/ -BOOL sid_peek_check_rid(DOM_SID *exp_dom_sid,DOM_SID *sid, uint32 *rid) +BOOL sid_peek_check_rid(const DOM_SID *exp_dom_sid, const DOM_SID *sid, uint32 *rid) { if (!exp_dom_sid || !sid || !rid) return False; @@ -280,7 +280,7 @@ BOOL sid_peek_check_rid(DOM_SID *exp_dom_sid,DOM_SID *sid, uint32 *rid) return False; } - return sid_peek_rid(sid,rid); + return sid_peek_rid(sid, rid); } /***************************************************************** |