|
Message-Id: <20190722180740.16951-5-me@concati.me> Date: Mon, 22 Jul 2019 14:07:40 -0400 From: Issam Maghni <me@...cati.me> To: musl@...ts.openwall.com Cc: Issam Maghni <me@...cati.me> Subject: [PATCH 5/5] fix warning parentheses Signed-off-by: Issam Maghni <me@...cati.me> --- 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
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.