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.
This commit is contained in:
Paul Eggert committed 2016-11-25 18:54:32 -08:00
1 parent 55f14d7a09
commit e490178c39
1 file changed
+1 -1
+1 -1
View File
@@ -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);