mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 870480 - Follow-up: Try to fix a warning-as-error.
> error: suggest parentheses around comparison in operand of '!='
This commit is contained in:
parent
772e3b6ff9
commit
f0d0f1383d
@ -253,7 +253,7 @@ ModifyWakeLock(const nsAString& aTopic,
|
||||
if (sActiveListeners &&
|
||||
(oldState != ComputeWakeLockState(totalCount.numLocks,
|
||||
totalCount.numHidden) ||
|
||||
processWasLocked != processCount.numLocks > 0)) {
|
||||
processWasLocked != (processCount.numLocks > 0))) {
|
||||
|
||||
WakeLockInformation info;
|
||||
GetWakeLockInfo(aTopic, &info);
|
||||
|
Loading…
Reference in New Issue
Block a user