summaryrefslogtreecommitdiffstats
path: root/services/inputflinger/InputReader.cpp
diff options
context:
space:
mode:
authorMichael Wright <michaelwr@google.com>2014-08-29 16:16:26 -0700
committerMichael Wright <michaelwr@google.com>2014-08-29 16:16:26 -0700
commit3da3b8436c743e4ba16ce6802b499a5bb7cd07bd (patch)
tree63a6c79dc93986655ba1cf6686f66824201c0590 /services/inputflinger/InputReader.cpp
parentbcbf97ef8fb6eaf527014ed9e7d979ad4fe9fdd2 (diff)
downloadframeworks_native-3da3b8436c743e4ba16ce6802b499a5bb7cd07bd.zip
frameworks_native-3da3b8436c743e4ba16ce6802b499a5bb7cd07bd.tar.gz
frameworks_native-3da3b8436c743e4ba16ce6802b499a5bb7cd07bd.tar.bz2
Fix type for temp variable
Change-Id: I8e2d229da326e5182692f94660336169fb249da7
Diffstat (limited to 'services/inputflinger/InputReader.cpp')
-rw-r--r--services/inputflinger/InputReader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/inputflinger/InputReader.cpp b/services/inputflinger/InputReader.cpp
index b7c7ff4..8634e42 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);