From f0d0f1383de260aea19a3e83f092e4de6083b287 Mon Sep 17 00:00:00 2001 From: Justin Lebar Date: Fri, 10 May 2013 11:58:09 -0400 Subject: [PATCH] Bug 870480 - Follow-up: Try to fix a warning-as-error. > error: suggest parentheses around comparison in operand of '!=' --- hal/HalWakeLock.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hal/HalWakeLock.cpp b/hal/HalWakeLock.cpp index 6fa43d4be27..b93278d66c6 100644 --- a/hal/HalWakeLock.cpp +++ b/hal/HalWakeLock.cpp @@ -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);