From 3da3b8436c743e4ba16ce6802b499a5bb7cd07bd Mon Sep 17 00:00:00 2001 From: Michael Wright Date: Fri, 29 Aug 2014 16:16:26 -0700 Subject: [PATCH] Fix type for temp variable Change-Id: I8e2d229da326e5182692f94660336169fb249da7 --- services/inputflinger/InputReader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/inputflinger/InputReader.cpp b/services/inputflinger/InputReader.cpp index b7c7ff420..8634e4272 100644 --- a/services/inputflinger/InputReader.cpp +++ b/services/inputflinger/InputReader.cpp @@ -1851,7 +1851,7 @@ void SwitchInputMapper::processSwitch(int32_t switchCode, int32_t switchValue) { void SwitchInputMapper::sync(nsecs_t when) { if (mUpdatedSwitchMask) { - int32_t updatedSwitchValues = mSwitchValues & mUpdatedSwitchMask; + uint32_t updatedSwitchValues = mSwitchValues & mUpdatedSwitchMask; NotifySwitchArgs args(when, 0, updatedSwitchValues, mUpdatedSwitchMask); getListener()->notifySwitch(&args);