diff options
author | Michael Wright <michaelwr@google.com> | 2014-08-29 16:16:26 -0700 |
---|---|---|
committer | Michael Wright <michaelwr@google.com> | 2014-08-29 16:16:26 -0700 |
commit | 3da3b8436c743e4ba16ce6802b499a5bb7cd07bd (patch) | |
tree | 63a6c79dc93986655ba1cf6686f66824201c0590 /services/inputflinger/InputReader.cpp | |
parent | bcbf97ef8fb6eaf527014ed9e7d979ad4fe9fdd2 (diff) | |
download | frameworks_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.cpp | 2 |
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); |