Fix for parenthesis error
Added parentheses as it was suggested by compiler.
error: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Werror=parentheses]
(Cherry picked from commit c3ce224c62
)
Signed-off-by: Arseniy Antonov <arseniy.antonov@intel.com>
Change-Id: Ic3746d9804488411d10d460ddfda11f1fad8efef
This commit is contained in:
parent
cad56b6ad3
commit
3c8e92cebe
|
@ -524,7 +524,7 @@ void LogStatistics::format(char **buf,
|
|||
short spaces = 2;
|
||||
|
||||
log_id_for_each(i) {
|
||||
if (!logMask & (1 << i)) {
|
||||
if (!(logMask & (1 << i))) {
|
||||
continue;
|
||||
}
|
||||
oldLength = string.length();
|
||||
|
|
Loading…
Reference in New Issue