From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/14423 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Issam Maghni Newsgroups: gmane.linux.lib.musl.general Subject: [PATCH 5/5] fix warning parentheses Date: Mon, 22 Jul 2019 14:07:40 -0400 Message-ID: <20190722180740.16951-5-me@concati.me> References: <20190722180740.16951-1-me@concati.me> Reply-To: musl@lists.openwall.com Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="149462"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Issam Maghni To: musl@lists.openwall.com Original-X-From: musl-return-14439-gllmg-musl=m.gmane.org@lists.openwall.com Mon Jul 22 20:11:47 2019 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.89) (envelope-from ) id 1hpcmn-000ckd-8S for gllmg-musl@m.gmane.org; Mon, 22 Jul 2019 20:11:45 +0200 Original-Received: (qmail 27692 invoked by uid 550); 22 Jul 2019 18:11:41 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 19680 invoked from network); 22 Jul 2019 18:07:53 -0000 X-Originating-IP: 87.101.92.157 X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190722180740.16951-1-me@concati.me> Xref: news.gmane.org gmane.linux.lib.musl.general:14423 Archived-At: Signed-off-by: Issam Maghni --- src/locale/dcngettext.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/locale/dcngettext.c b/src/locale/dcngettext.c index 4c304393..3a10e42f 100644 --- a/src/locale/dcngettext.c +++ b/src/locale/dcngettext.c @@ -81,7 +81,7 @@ char *bindtextdomain(const char *domainname, const char *dirname) } UNLOCK(lock); - + return (char *)p->dirname; } @@ -178,7 +178,7 @@ notrans: snprintf(name, sizeof name, "%s/%.*s%.*s/%s/%s.mo\0", dirname, (int)loclen, locname, (int)alt_modlen, modname, catname, domainname); - if (map = __map_file(name, &map_size)) break; + if ((map = __map_file(name, &map_size))) break; /* Try dropping @mod, _YY, then both. */ if (alt_modlen) { -- 2.22.0