summaryrefslogtreecommitdiffstats
path: root/source/sam
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2003-04-04 00:28:38 +0000
committerTim Potter <tpot@samba.org>2003-04-04 00:28:38 +0000
commit9c706be7b4417a1dc36866c3bad7a156f30b8af6 (patch)
treee95caa48038581c603d999c3d131717fac07fcd2 /source/sam
parent4475d471796e505c4b56814615edf58536b1b7cb (diff)
downloadsamba-9c706be7b4417a1dc36866c3bad7a156f30b8af6.tar.gz
samba-9c706be7b4417a1dc36866c3bad7a156f30b8af6.tar.xz
samba-9c706be7b4417a1dc36866c3bad7a156f30b8af6.zip
Fixed compiler warning.
Diffstat (limited to 'source/sam')
-rw-r--r--source/sam/idmap_tdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/sam/idmap_tdb.c b/source/sam/idmap_tdb.c
index 72c602664c5..ec365b603dd 100644
--- a/source/sam/idmap_tdb.c
+++ b/source/sam/idmap_tdb.c
@@ -264,7 +264,7 @@ static NTSTATUS db_get_sid_from_id(DOM_SID *sid, unid_t id, int id_type)
}
/* Get an id from a sid */
-static NTSTATUS db_get_id_from_sid(unid_t *id, int *id_type, DOM_SID *sid)
+static NTSTATUS db_get_id_from_sid(unid_t *id, int *id_type, const DOM_SID *sid)
{
TDB_DATA data, key;
fstring keystr;