From cbecd1595c9ed4f0eb8eb76b60ae28eea6a395f4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bj=C3=B6rn=20Jacke?= Date: Thu, 23 Aug 2012 15:57:47 +0200 Subject: [PATCH] s3: fix compile warning on openindiana MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 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(-) diff --git a/source3/passdb/lookup_sid.c b/source3/passdb/lookup_sid.c index 26ce41cc09e..530fa6bfa0a 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; } -- 2.11.4.GIT