bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#23442: [PATCH] maint: avoid new warning from gcc (GCC) 7.0.0 2016050


From: Bernhard Voelker
Subject: bug#23442: [PATCH] maint: avoid new warning from gcc (GCC) 7.0.0 20160503 (experimental)
Date: Wed, 4 May 2016 09:40:05 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0

On 05/04/2016 05:59 AM, Jim Meyering wrote:
> -  bool default_format = (just_user + just_group + just_group_list
> +  bool default_format = (0U + just_user + just_group + just_group_list
>                           + just_context == 0);

These are all bool - wouldn't it be better to use boolean instead of
arithmetical operators?

Have a nice day,
Berny





reply via email to

[Prev in Thread] Current Thread [Next in Thread]