From e490178c39f707b0151d584c252286189f2ffcef Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Fri, 25 Nov 2016 18:54:03 -0800 Subject: numfmt: pacify Sun C 5.14 * src/numfmt.c (main): Don't implicitly coerce pointer in bool initializer. Although it's portable C99 code, it's confusing. --- src/numfmt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/numfmt.c b/src/numfmt.c index a78f30732..e4518160a 100644 --- a/src/numfmt.c +++ b/src/numfmt.c @@ -1443,7 +1443,7 @@ main (int argc, char **argv) initialize_main (&argc, &argv); set_program_name (argv[0]); - locale_ok = setlocale (LC_ALL, ""); + locale_ok = !!setlocale (LC_ALL, ""); bindtextdomain (PACKAGE, LOCALEDIR); textdomain (PACKAGE); -- cgit v1.2.3-70-g09d2