From cbecd1595c9ed4f0eb8eb76b60ae28eea6a395f4 Mon Sep 17 00:00:00 2001 From: Björn Jacke Date: Thu, 23 Aug 2012 15:57:47 +0200 Subject: s3: fix compile warning on openindiana MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Autobuild-User(master): Björn Jacke Autobuild-Date(master): Thu Aug 23 18:22:13 CEST 2012 on sn-devel-104 --- source3/passdb/lookup_sid.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'source3') diff --git a/source3/passdb/lookup_sid.c b/source3/passdb/lookup_sid.c index 26ce41cc09..530fa6bfa0 100644 --- a/source3/passdb/lookup_sid.c +++ b/source3/passdb/lookup_sid.c @@ -1314,17 +1314,17 @@ bool sids_to_unixids(const struct dom_sid *sids, uint32_t num_sids, for (i=0; i id is a union anyway */ - ids[i].type = wbc_ids[num_not_cached].type; + ids[i].type = (enum id_type)wbc_ids[num_not_cached].type; ids[i].id = wbc_ids[num_not_cached].id.gid; break; } -- cgit