From: Björn Jacke Date: Thu, 23 Aug 2012 13:57:47 +0000 (+0200) Subject: s3: fix compile warning on openindiana X-Git-Tag: samba-4.0.0beta7~51 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cbecd1595c9ed4f0eb8eb76b60ae28eea6a395f4;p=thirdparty%2Fsamba.git s3: fix compile warning on openindiana Autobuild-User(master): Björn Jacke Autobuild-Date(master): Thu Aug 23 18:22:13 CEST 2012 on sn-devel-104 --- 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; }