summaryrefslogtreecommitdiff
path: root/source3/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
commit4af8e4a6a37e366194a111f5568540a6c9b7f1a7 (patch)
tree9adcb61023d9ba25b98f53e8a53d21fa56fb2301 /source3/sam
parente9681cf3b2c1be7afcd78fe1dccdf4b21fac5ebd (diff)
downloadsamba-4af8e4a6a37e366194a111f5568540a6c9b7f1a7.tar.gz
samba-4af8e4a6a37e366194a111f5568540a6c9b7f1a7.tar.bz2
samba-4af8e4a6a37e366194a111f5568540a6c9b7f1a7.zip
Fixed compiler warning.
(This used to be commit 9c706be7b4417a1dc36866c3bad7a156f30b8af6)
Diffstat (limited to 'source3/sam')
-rw-r--r--source3/sam/idmap_tdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/sam/idmap_tdb.c b/source3/sam/idmap_tdb.c
index 72c602664c..ec365b603d 100644
--- a/source3/sam/idmap_tdb.c
+++ b/source3/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;