diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2016-11-25 18:54:03 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2016-11-25 18:54:32 -0800 |
commit | e490178c39f707b0151d584c252286189f2ffcef (patch) | |
tree | ea8290697b761084b4d22d226e7932455e02e92f | |
parent | 55f14d7a092515e5a2eb0b907d5a857fce8cc7af (diff) | |
download | coreutils-e490178c39f707b0151d584c252286189f2ffcef.tar.xz |
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.
-rw-r--r-- | src/numfmt.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |